This repository has been archived by the owner on Nov 1, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 244
/
elf-name-generator.html
195 lines (179 loc) · 13.6 KB
/
elf-name-generator.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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta content="width=device-width, initial-scale=1.0" name="viewport" />
<meta content="ie=edge" http-equiv="X-UA-Compatible" />
<script crossorigin="anonymous" src="https://kit.fontawesome.com/5e68800c4a.js"></script>
<link href="../img/favicon.png" rel="shortcut icon" type="image/png" />
<link crossorigin="anonymous" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" rel="stylesheet" />
<link href="../assets/css/main.css" rel="stylesheet" />
<link href="../assets/css/films.css" rel="stylesheet" />
<link href="https://fonts.googleapis.com/css?family=Poppins&display=swap" rel="stylesheet" />
<link href="../assets/css/elf-name-generator.css" rel="stylesheet" />
<link href="../assets/css/name-generators.css" rel="stylesheet" />
<link href="https://fonts.googleapis.com/css?family=Mountains+of+Christmas&display=swap" rel="stylesheet" />
<link href="../assets/css/mouse-trail-snowball.css" rel="stylesheet" />
<link rel="stylesheet" href="../assets/css/darkmode.css" />
<link rel="shortcut icon" type="image/png" href="../img/favicon.png" />
<title>Santafied | Elf Name Generator</title>
</head>
<body id="films">
<!-- Header Included here -->
<div id="header">
<script src="../assets/js/pages-header.js"></script>
</div>
<!-- Header ends here -->
<div class="container name-generator">
<div class="icon-container">
<img alt="elf" class="elf-icon invert" src="../assets/img/santa-claus.svg" />
</div>
<h1>What does <span>SANTA</span> call you?</h1>
<div>If you're a Santa Helper, you have a nickname.</div>
<div class="name-choice">
<h3>First letter of your name</h3>
<select class="box-style" id="name" onchange="letterChoice()">
<option selected value="">--Select Letter--</option>
<option value="Sparkles">A</option>
<option value="Cookie">B</option>
<option value="Blinky">C</option>
<option value="Evergreen">D</option>
<option value="Jingle">E</option>
<option value="Elfie">F</option>
<option value="Buddy">G</option>
<option value="Pixie">H</option>
<option value="Cocoa">I</option>
<option value="Frosty">J</option>
<option value="Mistletoe">K</option>
<option value="Twinkle">L</option>
<option value="Peppermint">M</option>
<option value="Cranberry">N</option>
<option value="Snowflake">O</option>
<option value="Kringle">P</option>
<option value="Snowy">Q</option>
<option value="Holly">R</option>
<option value="Jolly">S</option>
<option value="Sprinkles">T</option>
<option value="Merry">U</option>
<option value="Tipsy">V</option>
<option value="Glitzy">W</option>
<option value="Starlight">X</option>
<option value="Happy">Y</option>
<option value="Twinkle">Z</option>
</select>
</div>
<div class="month-choice">
<h3>Your birth month</h3>
<select class="box-style" id="month" onchange="monthChoice()">
<option selected value="">--Select Month--</option>
<option value="Glitterballs">January</option>
<option value="TwinkleToes">February</option>
<option value="SugarSocks">March</option>
<option value="SleighBells">April</option>
<option value="McJingles">May</option>
<option value="McSnowball">June</option>
<option value="SnowyBum">July</option>
<option value="CinnamonShorts">August</option>
<option value="TinselPants">September</option>
<option value="ToffeeNut">October</option>
<option value="McFluff">November</option>
<option value="Gingerberry">December</option>
</select>
</div>
<button id="loadName" onclick="generateName();" type="submit">
Generate My Name!
</button>
<div id="resultContainer">
<h3>Your Elf Name is:</h3>
<p id="result"></p>
</div>
<h3>You may also like:</h3>
<a href="reindeer-name-generator.html">
<div class="generator-tile">
<svg id="Capa_1" style="enable-background:new 0 0 409.2 409.2;" version="1.1" viewBox="0 0 409.2 409.2" x="0px" xml:space="preserve" xmlns="http://www.w3.org/2000/svg" y="0px">
<path d="M235.2,249c5.2,0,10-2,13.6-5.6c3.6-3.6,5.6-8.4,5.6-13.6s-2-10-5.6-13.6c-3.6-3.6-8.4-5.6-13.6-5.6
c-5.6,0-10.4,2-13.6,5.6c-3.6,3.6-5.6,8.4-5.6,13.6s2,10,5.6,13.6C225.2,247,230,249,235.2,249z M233.2,227.4
c0.4-0.4,1.2-0.8,2-0.8s1.6,0.4,2,0.8c0.4,0.8,0.8,1.2,0.8,2s-0.4,1.6-0.8,2c-0.4,0.4-1.2,0.8-2,0.8s-1.6-0.4-2-0.8
c-0.4-0.4-0.8-1.2-0.8-2S232.8,227.8,233.2,227.4z" />
<path d="M401.2,17.8c-4.4,0-8,3.6-8,8v36.8h-59.6V25.8c0-4.4-3.6-8-8-8c-4.4,0-8,3.6-8,8v36.8V63H254c-3.2,0-6.4,2-7.6,5.6
l-13.2,44C224,110.2,214,109,204,109s-20,1.2-29.2,3.6l-13.2-44c-0.8-3.2-4-5.6-7.6-5.6H91.6V26.2c0-4.4-3.6-8-8-8
c-4.4,0-8,3.6-8,8V63H16V26.2c0-4.4-3.6-8-8-8c-4.4,0-8,3.6-8,8v44c0,4.4,3.6,8,8,8h76h64.8l11.6,38.8c-14.8,6-28,14.8-39.2,26
c-1.6,1.6-3.6,3.6-5.2,5.6c-1.2-2.8-3.2-5.6-5.6-8.4c-12.4-14-38.4-24.8-84.8-20.8c-4.4,0.4-7.6,4.4-7.2,8.8
c0,1.2,0.4,2.4,1.2,3.6c21.6,40.8,44.8,56.8,62.8,59.6c3.6,0.8,6.8,0.8,9.6,0.4c-3.2,11.2-5.2,22.8-5.2,35.2v55.2
c0,30.4,12.4,58.4,32.4,78.4c15.2,15.2,34.4,26,56.4,30.4c0.8,0,1.6,0.4,2.4,0.4h0.8h0.8h0.8h0.8h0.8h0.8h0.8h1.2h0.4h0.8h0.8
h0.8h0.8h0.4h0.8h0.4h1.2h1.2c0.4,0,0.8,0,1.2,0h0.4h1.2h0.4h0.4h1.2h15.2h1.2h0.4h0.4h1.2h0.4h1.2h1.2h1.2h0.4h0.8h0.4h0.8h0.8
h0.8h0.8h0.4h1.2h0.8h0.8h0.8h0.8h0.8h0.8h0.8c0.8,0,1.6-0.4,2.4-0.4c21.6-4.4,41.2-15.2,56.4-30.4c20-20,32.4-48,32.4-78.4
v-54.8c0-12.4-1.6-24-5.2-35.2c3.2,0,6.4,0,9.6-0.4c18-2.8,41.6-18.8,62.8-59.6c0.8-0.8,1.2-2.4,1.2-3.6c0.4-4.4-2.8-8.4-7.2-8.8
c-46.4-4-72.8,6.8-84.8,20.8c-2.4,2.8-4.4,5.6-5.6,8.4c-1.6-2-3.2-3.6-5.2-5.6c-11.2-11.2-24.4-20-39.2-26l12-38.8h64.4h75.6
c4.4,0,8-3.6,8-8V25.8C409.2,21.4,405.6,17.8,401.2,17.8z M101.6,169c-2.8,4.8-8.8,8-16.8,6.8c-12.4-2-28.8-13.2-45.2-40.8
c32-0.8,50.4,6.8,58.8,16c4.8,6,5.6,12.8,3.2,17.6V169z M279.2,349C264,363.8,244,373.8,222,376.2h-0.4c-0.4,0-1.2,0-2,0h-1.2
h-0.8h-0.4h-0.8h-1.2h-0.4h-1.2h-1.2h-15.2H196h-1.2h-0.4h-1.2h-0.8H192h-0.8H190c-0.4,0-1.2,0-2,0h-0.4
c-22.4-2-42.4-12.4-57.2-27.2c-2.4-2.4-4.8-5.2-7.2-8c6.8-8.4,14.8-16,23.6-22.4c8.4-5.6,17.6-10,27.2-13.2
c0.4,1.2,1.2,2,1.6,3.2v0.4c2,3.2,4,6,6.8,8.4c10.4,9.2,21.2,8.4,22,8.4c11.6,0.4,25.6-7.2,31.2-20.8c10,3.2,19.2,7.6,27.2,13.6
c9.2,6,16.8,13.6,23.6,22.4C284,343.8,281.6,346.6,279.2,349z M187.2,292.2c0-4.8,2-9.2,5.2-12.4c3.2-3.2,7.6-5.2,12.4-5.2
s9.2,2,12.4,5.2s4.8,7.6,4.8,12.4c0,7.6-6.4,17.2-16.4,17.2c-10.8,0-14.4-4.8-16.8-10.4C187.6,296.6,187.2,294.2,187.2,292.2z
M311.6,151c8-9.2,26-16.8,58.4-16c-16.8,27.6-32.8,38.8-45.2,40.8c-7.6,1.2-14-2-16.4-6.8v-0.4C305.6,163.4,306.4,157,311.6,151
z M276.8,154.6c18.4,18.8,30,44.4,30,72.4v55.2c0,16-4,31.6-11.2,44.8c-6.8-8-14.8-15.6-23.6-21.6c-10.4-7.2-22-12.8-34-16.4
c-0.8-8-4.4-15.2-9.6-20.4c-6-6.4-14.4-10-23.6-10s-17.6,3.6-24.4,9.6c-5.2,5.2-8.8,12.4-9.6,20.4c-12.4,3.6-23.6,9.2-34,16.4
c-8.8,6-16.8,13.2-23.6,21.6c-7.2-13.2-11.2-28.8-11.2-44.8V227c0-28.4,11.6-54,30-72.4c18.8-18.4,44.4-30,72.4-30
C232.8,124.6,258.4,136.2,276.8,154.6z" />
<path d="M174.4,210.6c-5.2,0-10,2-13.6,5.6c-3.6,3.6-5.6,8.4-5.6,13.6s2,10,5.6,13.6c3.6,3.6,8.4,5.6,13.6,5.6s10-2,13.6-5.6
c3.6-3.6,5.6-8.4,5.6-13.6s-2-10-5.6-13.6C184.4,212.6,179.6,210.6,174.4,210.6z M176.8,231.4c-0.4,0.4-1.2,0.8-2,0.8
s-1.6-0.4-2-0.8c-0.4-0.4-0.8-1.2-0.8-2s0.4-1.6,0.8-2c0.4-0.4,1.2-0.8,2-0.8s1.6,0.4,2,0.8c0.4,0.8,0.8,1.2,0.8,2
S177.2,231,176.8,231.4z" />
</svg>
<span>Reindeer<br />
Name Generator</span>
</div>
</a>
<a href="snowman-name-generator.html">
<div class="generator-tile">
<svg id="Capa_1" style="enable-background:new 0 0 408.749 408.749;" version="1.1" viewBox="0 0 408.749 408.749" x="0px" xml:space="preserve" xmlns="http://www.w3.org/2000/svg" y="0px">
<path d="M368.2,186.749l-6-3.2l18.4-36.8c7.6-15.2,8-32.4,3.2-47.2c-4.8-14.8-15.6-28-30.8-35.6l-116.4-57.6
c-15.2-7.6-32-8-47.2-3.2c-14.8,4.8-28,15.6-35.6,30.8l-18.4,36.8l-6.4-3.2c-6.8-3.6-14.8-4-21.6-1.6c-6.4,2.4-12.4,6.8-16,13.6
c-0.4,0.4-0.4,1.2-0.8,1.6c-3.2,6.8-3.6,14-1.2,20.8c0.4,1.2,0.8,2,1.2,3.2c-20,14.8-36.8,34-48.8,56c-12.8,23.6-20,50.8-20,79.6
c0,46.4,18.8,88.4,49.6,118.8c30.4,30.4,72.4,49.2,118.8,49.2c46.4,0,88.4-18.8,118.8-49.2c30.4-30.4,49.2-72.4,49.2-118.8
c2.4-0.4,4.4-0.8,6.4-1.6c6.4-2.4,12.4-6.8,16-13.6c0.4-0.4,0.4-1.2,0.8-1.6c3.2-6.8,3.6-14,1.2-20.8
C380.2,196.349,375,190.349,368.2,186.749z M168.6,40.349c5.6-11.2,15.2-19.2,26.4-22.8c11.2-3.6,23.6-3.2,34.8,2.4l115.2,57.6
c0.4,0.4,0.8,0.8,1.2,0.8c11.2,5.6,18.8,15.2,22.4,26c3.6,11.2,3.2,23.2-2,34.4c-0.4,0.4-0.8,0.8-0.8,1.2l-18,36.4l-183.2-91.6
l-14.8-7.2L168.6,40.349z M341.4,240.349c0,42-16.8,80-44.4,107.6c-27.6,27.2-65.6,44.4-107.6,44.4s-80-16.8-107.6-44.4
c-27.2-27.6-44.4-65.6-44.4-107.6c0-26,6.4-50.8,18-72c11.2-20.4,26.8-38,45.6-51.6c0.8,0.4,1.2,0.4,1.6,0.8
c0.8,0.4,1.2,0.8,1.6,0.8l86.8,43.6l150.4,75.2C341.4,237.949,341.4,239.149,341.4,240.349z M367,216.749c0,0.4-0.4,0.8-0.4,1.2
c-1.6,2.8-4,4.8-6.8,5.6c-2.4,0.8-4.8,0.8-7.2,0.4h-0.4c-0.4,0-0.8-0.4-1.2-0.4c-0.4,0-0.4-0.4-0.8-0.4L111,103.549
c-0.8,0-1.2-0.4-1.6-0.8l-0.4-0.4c-0.4-0.4-0.4-0.4-0.8-0.8l-0.4-0.4c-1.2-1.2-2.4-2.8-2.8-4.4c-0.8-3.2-0.8-6.4,0.4-9.2
c0-0.4,0.4-0.8,0.4-1.2c1.6-2.8,4-4.8,6.8-5.6s6.4-0.8,9.6,0.4l13.2,6.8l162.8,81.6l62.4,30.4c0.4,0.4,0.8,0.8,1.2,0.8
c2.8,1.6,4.8,4,5.6,6.8C368.2,210.749,368.2,213.949,367,216.749z" />
<path d="M209.8,244.749c4.4,4,10.4,6.8,16.8,6.8c6.4,0,12.4-2.4,16.8-6.8c4-4.4,6.8-10.4,6.8-16.8c0-6.4-2.4-12.4-6.8-16.8
c-4.4-4-10.4-6.8-16.8-6.8c-6.4,0-12,2.4-16.4,6.4l-0.4,0.4c-4,4.4-6.8,10.4-6.8,16.8c0,6.4,2.4,12,6.4,16.4L209.8,244.749z
M221,222.749l0.4-0.4c1.2-1.2,3.2-2,5.2-2c2.4,0,4.4,1.2,5.6,2.4c1.2,1.2,2,3.2,2.4,5.6c0,2.4-1.2,4.4-2.4,5.6
c-1.6,1.6-3.6,2.4-5.6,2.4c-2.4,0-4.4-1.2-5.6-2.4l-0.4-0.4c-1.2-1.2-2-3.2-2-5.2C218.6,225.949,219.8,223.949,221,222.749z" />
<path d="M187.4,258.749l-32.4,8l-38,9.2c-2.8,0.4-5.2,2.8-6,6.4c-0.8,4.4,1.6,8.4,6,9.6l38,9.2l32.4,8c0.8,0.4,2,0.8,3.2,1.2
c1.6,0.4,2.8,0.4,4.4,0.4c6.4,0,12.4-3.6,16.4-8.8c3.6-4.8,6-11.2,6-18s-2.4-13.2-6-18c-4-5.6-10-8.8-16.4-8.8
c-1.2,0-2.8,0-4.4,0.4C189.4,257.949,188.6,258.349,187.4,258.749z M193.8,273.149c0.4-0.4,0.4-0.4,0.8-0.4c0.4,0,0.4,0,0.8,0
c1.2,0,2.4,0.8,3.6,2.4c1.6,2,2.4,5.2,2.4,8.4c0,3.6-0.8,6.4-2.4,8.4c-0.8,1.6-2.4,2.4-3.6,2.4c-0.4,0-0.8,0-0.8,0
c-0.4,0-0.4-0.4-0.8-0.4c-0.8-0.4-1.2-0.8-2-0.8l-32.8-8l-6.4-1.6l6.4-1.2l33.2-8.4C192.6,273.549,193.4,273.549,193.8,273.149z" />
<path d="M153.8,251.549c6.4,0,12.4-2.4,16.8-6.8c4-4.4,6.8-10.4,6.8-16.8c0-6.4-2.4-12.4-6.8-16.8c-4.4-4-10.4-6.8-16.8-6.8
c-6.4,0-12.4,2.4-16.4,6.4l-0.4,0.4c-4,4.4-6.8,10.4-6.8,16.8c0,6.4,2.4,12.4,6.8,16.8
C141.4,248.749,147.4,251.549,153.8,251.549z M147.8,222.749l0.4-0.4c1.2-1.2,3.2-2,5.2-2c2.4,0,4.4,1.2,5.6,2.4
c1.6,1.2,2.4,3.2,2.4,5.6c0,2.4-1.2,4.4-2.4,5.6c-1.6,1.6-3.6,2.4-5.6,2.4c-2.4,0-4.4-1.2-5.6-2.4c-1.6-1.6-2.4-3.6-2.4-5.6
C145.4,225.949,146.6,223.949,147.8,222.749z" />
</svg>
<span>Snowman<br />
Name Generator</span>
</div>
</a>
</div>
<!-- Footer Included here -->
<div id="footer">
<script src="../assets/js/pages-footer.js"></script>
</div>
<!-- Footer ends here -->
<script src="../assets/js/darkmode.js"></script>
<script src="../assets/js/mouse-trail-snowball.js"></script>
<script src="../assets/js/navLink-generator.js"></script>
<script crossorigin="anonymous" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" src="https://code.jquery.com/jquery-3.3.1.slim.min.js"></script>
<script crossorigin="anonymous" integrity="sha384-UO2eT0CpHqdSJQ6hJty5KVphtPhzWj9WO1clHTMGa3JDZwrnQq4sF86dIHNDz0W1" src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js"></script>
<script crossorigin="anonymous" integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM" src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js"></script>
<script src="../assets/js/elf-name-generator.js"></script>
</body>
</html>