-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
89 lines (88 loc) · 2.42 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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
<html>
<head>
<style>
.parent {
position: relative;
}
.child {
text-align: center;
position: absolute;
width: 100%;
top: 50%;
}
.noun {
font-size: larger;
}
</style>
<title>
Recruiting Email Subject Generator
</title>
</head>
<body class="parent">
<h1 class="child">Are you the <span class="noun" id="person">Hannah Montana</span> of <span class="noun" id="tech">yaml</span>?</h1>
</body>
<script>
const values = {
person: [
"Chuck Norris",
"Hannah Montana",
"Mary Poppins",
"Samuel L. Jackson",
"Freddy Krueger",
"Mike Tyson",
"Donald Trump",
"Tom Brady",
"Bruce Lee",
"Travis Kalanick",
"Softbank",
"John Wayne",
"Barbera Streisand",
"Ron Burgundy",
"Paul Bunyan",
"Backstreet Boys",
"Steamboat Willie",
"Nikola Tesla",
"Will Smith",
"Gwynne Shotwell",
"Justin Bieber",
"Taylor Swift",
"Steve Harvey"
],
tech: [
"Reliable Software",
"git",
"YAML",
"Javascript",
"Golang",
"Googling",
"VSCode",
"vim",
"Emacs",
"nano",
"AWS",
"HTTP",
"Thrift",
"CSS",
"XML",
"AR",
"VR",
"Bitcoin",
"React",
"Angular",
"Jenkins",
"Linux",
"HackerNews",
"3D Printing",
"SHA256",
"Elliptic Curve Cryptography",
"Whiteboard Coding",
"Monorepos",
"Cyber security",
"Free And Open-Source Software"
]
};
["person", "tech"].forEach(function (n) {
document.getElementById(n).textContent = values[n][Math.floor(Math.random() * values[n].length)];
});
</script>
</html>