-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
51 lines (50 loc) · 1.28 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Hack NASA</title>
<style>
body {
background-color: black;
color: white;
font-family: 'Courier New', Courier, monospace;
text-align: center;
}
.blink {
animation: blinker 1s linear infinite;
}
@keyframes blinker {
50% { opacity: 0; }
}
.warning {
color: red;
font-size: 2em;
margin-top: 20vh;
}
img {
width: 250px;
height: auto;
margin-top: 20px;
}
</style>
</head>
<body>
<h1 class="warning blink">WARNING: TOP SECRET</h1>
<p>Initiating Hack...</p>
<img src="skull.png" alt="Skull Image">
<p>Preparing to infiltrate NASA's coffee machine. Estimated time until espresso: 3... 2... 1...</p>
<script>
function initiateHack() {
const messages = ["Brewing...", "Adding secret ingredient...", "Hack successful! Enjoy your space coffee!"];
let index = 0;
setInterval(() => {
if (index < messages.length) {
document.getElementById("status").innerText = messages[index++];
}
}, 1000);
}
window.onload = initiateHack;
</script>
<p id="status"></p>
</body>
</html>