-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
373 lines (360 loc) · 18.9 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
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
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<link rel="shortcut icon" type="image/png" href="img/dragon_icon_small.png">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:300,400,500&display=swap">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Wendy+One&display=swap">
<link rel="stylesheet" href="style.css">
<title>How to Train Your Dragon Quiz</title>
<!-- Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-134687834-4"></script>
<script src="analytics.js"></script>
</head>
<body>
<div class="progress"></div>
<!-- Top Section -->
<div class="top">
<!-- GitHub link -->
<a class="top__github-link" href="https://github.com/nadiannis/htty-dragon-quiz" target="_blank" title="Source on GitHub">
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 60.5 60.5" width="60" height="60">
<polygon class="top__github-bg" points="60.5,60.5 0,0 60.5,0 "/>
<path class="top__github-icon" d="M43.1,5.8c-6.6,0-12,5.4-12,12c0,5.3,3.4,9.8,8.2,11.4c0.6,0.1,0.8-0.3,0.8-0.6c0-0.3,0-1,0-2c-3.3,0.7-4-1.6-4-1.6c-0.5-1.4-1.3-1.8-1.3-1.8c-1.1-0.7,0.1-0.7,0.1-0.7c1.2,0.1,1.8,1.2,1.8,1.2c1.1,1.8,2.8,1.3,3.5,1c0.1-0.8,0.4-1.3,0.8-1.6c-2.7-0.3-5.5-1.3-5.5-5.9c0-1.3,0.5-2.4,1.2-3.2c-0.1-0.3-0.5-1.5,0.1-3.2c0,0,1-0.3,3.3,1.2c1-0.3,2-0.4,3-0.4c1,0,2,0.1,3,0.4c2.3-1.6,3.3-1.2,3.3-1.2c0.7,1.7,0.2,2.9,0.1,3.2c0.8,0.8,1.2,1.9,1.2,3.2c0,4.6-2.8,5.6-5.5,5.9c0.4,0.4,0.8,1.1,0.8,2.2c0,1.6,0,2.9,0,3.3c0,0.3,0.2,0.7,0.8,0.6c4.8-1.6,8.2-6.1,8.2-11.4C55.1,11.2,49.7,5.8,43.1,5.8z"/>
</svg>
</a>
<!-- Title -->
<div class="top__title">
<div class="container">
<h1 class="top__title-h1">HOW TO TRAIN YOUR<span class="top__title-span">DRAGON</span>QUIZ</h1>
</div>
</div>
<!-- Result Section -->
<div class="top__result display-none scene-element scene-element--fadein">
<div class="container">
<p class="top__result-text">You are<span class="top__result-span">50%</span>Dragoners</p>
</div>
</div>
<!-- Retake Button -->
<div class="top__retake scene-element scene-element--fadeindown display-none">
<div class="container">
<button class="top__retake-btn">Retake the Quiz</button>
</div>
</div>
</div>
<!-- Quiz Section -->
<div class="quiz scene-element scene-element--fadeinup">
<div class="container">
<h2 class="quiz__title">Find out how much you know about <em>How to Train Your Dragon</em> movies.</h2>
<form class="quiz__form">
<div class="quiz__problem">
<p class="quiz__question">1. Who is the main character of the movie "How to Train Your Dragon"?</p>
<div class="quiz__option">
<input class="quiz__option-btn" type="radio" name="q1" id="1A" value="A">
<label class="quiz__option-label" for="1A">Stoick</label>
</div>
<div class="quiz__option">
<input class="quiz__option-btn" type="radio" name="q1" id="1B" value="B">
<label class="quiz__option-label" for="1B">Toothless</label>
</div>
<div class="quiz__option">
<input class="quiz__option-btn" type="radio" name="q1" id="1C" value="C">
<label class="quiz__option-label" for="1C">Hiccup</label>
</div>
</div>
<div class="quiz__problem">
<p class="quiz__question">2. What injury keeps Toothless trapped in the gorge?</p>
<div class="quiz__option">
<input class="quiz__option-btn" type="radio" name="q2" id="2A" value="A">
<label class="quiz__option-label" for="2A">A missing tail flap </label>
</div>
<div class="quiz__option">
<input class="quiz__option-btn" type="radio" name="q2" id="2B" value="B">
<label class="quiz__option-label" for="2B">A broken wing</label>
</div>
<div class="quiz__option">
<input class="quiz__option-btn" type="radio" name="q2" id="2C" value="C">
<label class="quiz__option-label" for="2C">A missing foot</label>
</div>
</div>
<div class="quiz__problem">
<p class="quiz__question">3. When was the animated film "How to Train Your Dragon" released?</p>
<div class="quiz__option">
<input class="quiz__option-btn" type="radio" name="q3" id="3A" value="A">
<label class="quiz__option-label" for="3A">2009</label>
</div>
<div class="quiz__option">
<input class="quiz__option-btn" type="radio" name="q3" id="3B" value="B">
<label class="quiz__option-label" for="3B">2010</label>
</div>
<div class="quiz__option">
<input class="quiz__option-btn" type="radio" name="q3" id="3C" value="C">
<label class="quiz__option-label" for="3C">2011</label>
</div>
</div>
<div class="quiz__problem">
<p class="quiz__question">4. Who is Hiccup reunited with in "How to Train Your Dragon 2"?</p>
<div class="quiz__option">
<input class="quiz__option-btn" type="radio" name="q4" id="4A" value="A">
<label class="quiz__option-label" for="4A">His mother</label>
</div>
<div class="quiz__option">
<input class="quiz__option-btn" type="radio" name="q4" id="4B" value="B">
<label class="quiz__option-label" for="4B">His girlfriend</label>
</div>
<div class="quiz__option">
<input class="quiz__option-btn" type="radio" name="q4" id="4C" value="C">
<label class="quiz__option-label" for="4C">His father</label>
</div>
</div>
<div class="quiz__problem">
<p class="quiz__question">5. What does Hiccup name the dragon he wounded in "How to Train Your Dragon"?</p>
<div class="quiz__option">
<input class="quiz__option-btn" type="radio" name="q5" id="5A" value="A">
<label class="quiz__option-label" for="5A">Snotlout</label>
</div>
<div class="quiz__option">
<input class="quiz__option-btn" type="radio" name="q5" id="5B" value="B">
<label class="quiz__option-label" for="5B">Toothless</label>
</div>
<div class="quiz__option">
<input class="quiz__option-btn" type="radio" name="q5" id="5C" value="C">
<label class="quiz__option-label" for="5C">Fishlegs</label>
</div>
</div>
<div class="quiz__problem">
<p class="quiz__question">6. What type of dragon does Hiccup shoot down at the beginning of "How to Train Your Dragon"?</p>
<div class="quiz__option">
<input class="quiz__option-btn" type="radio" name="q6" id="6A" value="A">
<label class="quiz__option-label" for="6A">Gronckle</label>
</div>
<div class="quiz__option">
<input class="quiz__option-btn" type="radio" name="q6" id="6B" value="B">
<label class="quiz__option-label" for="6B">Whispering Death</label>
</div>
<div class="quiz__option">
<input class="quiz__option-btn" type="radio" name="q6" id="6C" value="C">
<label class="quiz__option-label" for="6C">Night Fury</label>
</div>
</div>
<div class="quiz__problem">
<p class="quiz__question">7. Which actor plays the voice of Stoick the Vast in "How to Train Your Dragon"?</p>
<div class="quiz__option">
<input class="quiz__option-btn" type="radio" name="q7" id="7A" value="A">
<label class="quiz__option-label" for="7A">Tom Hardy</label>
</div>
<div class="quiz__option">
<input class="quiz__option-btn" type="radio" name="q7" id="7B" value="B">
<label class="quiz__option-label" for="7B">Christian Bale</label>
</div>
<div class="quiz__option">
<input class="quiz__option-btn" type="radio" name="q7" id="7C" value="C">
<label class="quiz__option-label" for="7C">Gerard Butler</label>
</div>
</div>
<div class="quiz__problem">
<p class="quiz__question">8. What is the relationship between dragons and Vikings at the beginning of the movie "How to Train Your Dragon"?</p>
<div class="quiz__option">
<input class="quiz__option-btn" type="radio" name="q8" id="8A" value="A">
<label class="quiz__option-label" for="8A">Slaves</label>
</div>
<div class="quiz__option">
<input class="quiz__option-btn" type="radio" name="q8" id="8B" value="B">
<label class="quiz__option-label" for="8B">Enemies</label>
</div>
<div class="quiz__option">
<input class="quiz__option-btn" type="radio" name="q8" id="8C" value="C">
<label class="quiz__option-label" for="8C">Friends</label>
</div>
</div>
<div class="quiz__problem">
<p class="quiz__question">9. Who are the twins in dragon training with Hiccup?</p>
<div class="quiz__option">
<input class="quiz__option-btn" type="radio" name="q9" id="9A" value="A">
<label class="quiz__option-label" for="9A">Snotlout & Spitelout</label>
</div>
<div class="quiz__option">
<input class="quiz__option-btn" type="radio" name="q9" id="9B" value="B">
<label class="quiz__option-label" for="9B">Tuffnut & Ruffnut</label>
</div>
<div class="quiz__option">
<input class="quiz__option-btn" type="radio" name="q9" id="9C" value="C">
<label class="quiz__option-label" for="9C">Fishlegs & Froglegs</label>
</div>
</div>
<div class="quiz__problem">
<p class="quiz__question">10. Who becomes the leader of the Vikings at the end of "How to Train Your Dragon 2"?</p>
<div class="quiz__option">
<input class="quiz__option-btn" type="radio" name="q10" id="10A" value="A">
<label class="quiz__option-label" for="10A">Gobber</label>
</div>
<div class="quiz__option">
<input class="quiz__option-btn" type="radio" name="q10" id="10B" value="B">
<label class="quiz__option-label" for="10B">Hiccup</label>
</div>
<div class="quiz__option">
<input class="quiz__option-btn" type="radio" name="q10" id="10C" value="C">
<label class="quiz__option-label" for="10C">Valka</label>
</div>
</div>
<div class="quiz__problem">
<p class="quiz__question">11. What body part does Hiccup lose at the end of the movie "How to Train Your Dragon"?</p>
<div class="quiz__option">
<input class="quiz__option-btn" type="radio" name="q11" id="11A" value="A">
<label class="quiz__option-label" for="11A">Left hand</label>
</div>
<div class="quiz__option">
<input class="quiz__option-btn" type="radio" name="q11" id="11B" value="B">
<label class="quiz__option-label" for="11B">Left foot</label>
</div>
<div class="quiz__option">
<input class="quiz__option-btn" type="radio" name="q11" id="11C" value="C">
<label class="quiz__option-label" for="11C">Right foot</label>
</div>
</div>
<div class="quiz__problem">
<p class="quiz__question">12. When was the movie "How to Train Your Dragon 2" released?</p>
<div class="quiz__option">
<input class="quiz__option-btn" type="radio" name="q12" id="12A" value="A">
<label class="quiz__option-label" for="12A">2012</label>
</div>
<div class="quiz__option">
<input class="quiz__option-btn" type="radio" name="q12" id="12B" value="B">
<label class="quiz__option-label" for="12B">2013</label>
</div>
<div class="quiz__option">
<input class="quiz__option-btn" type="radio" name="q12" id="12C" value="C">
<label class="quiz__option-label" for="12C">2014</label>
</div>
</div>
<div class="quiz__problem">
<p class="quiz__question">13. Where do the Vikings live in the movie?</p>
<div class="quiz__option">
<input class="quiz__option-btn" type="radio" name="q13" id="13A" value="A">
<label class="quiz__option-label" for="13A">Isle of Berk</label>
</div>
<div class="quiz__option">
<input class="quiz__option-btn" type="radio" name="q13" id="13B" value="B">
<label class="quiz__option-label" for="13B">Island of Dragons</label>
</div>
<div class="quiz__option">
<input class="quiz__option-btn" type="radio" name="q13" id="13C" value="C">
<label class="quiz__option-label" for="13C">Viking Island</label>
</div>
</div>
<div class="quiz__problem">
<p class="quiz__question">14. What's the name of the warrior who tries to take over the world with a dragon army?</p>
<div class="quiz__option">
<input class="quiz__option-btn" type="radio" name="q14" id="14A" value="A">
<label class="quiz__option-label" for="14A">Drago Bludvist</label>
</div>
<div class="quiz__option">
<input class="quiz__option-btn" type="radio" name="q14" id="14B" value="B">
<label class="quiz__option-label" for="14B">Barry Berserker</label>
</div>
<div class="quiz__option">
<input class="quiz__option-btn" type="radio" name="q14" id="14C" value="C">
<label class="quiz__option-label" for="14C">Eric Bloodaxe</label>
</div>
</div>
<div class="quiz__problem">
<p class="quiz__question">15. Which character says, "Remember a dragon will always, always go for the kill"?</p>
<div class="quiz__option">
<input class="quiz__option-btn" type="radio" name="q15" id="15A" value="A">
<label class="quiz__option-label" for="15A">Stoick</label>
</div>
<div class="quiz__option">
<input class="quiz__option-btn" type="radio" name="q15" id="15B" value="B">
<label class="quiz__option-label" for="15B">Gobber</label>
</div>
<div class="quiz__option">
<input class="quiz__option-btn" type="radio" name="q15" id="15C" value="C">
<label class="quiz__option-label" for="15C">Astrid</label>
</div>
</div>
<div class="quiz__problem">
<p class="quiz__question">16. Which farm animal is part of the dragon race in the opening scenes of "How to Train Your Dragon 2"?</p>
<div class="quiz__option">
<input class="quiz__option-btn" type="radio" name="q16" id="16A" value="A">
<label class="quiz__option-label" for="16A">Goats</label>
</div>
<div class="quiz__option">
<input class="quiz__option-btn" type="radio" name="q16" id="16B" value="B">
<label class="quiz__option-label" for="16B">Pigs</label>
</div>
<div class="quiz__option">
<input class="quiz__option-btn" type="radio" name="q16" id="16C" value="C">
<label class="quiz__option-label" for="16C">Sheep</label>
</div>
</div>
<div class="quiz__problem">
<p class="quiz__question">17. What is Hiccup's full name?</p>
<div class="quiz__option">
<input class="quiz__option-btn" type="radio" name="q17" id="17A" value="A">
<label class="quiz__option-label" for="17A">Hiccup Horrendous Haddock II</label>
</div>
<div class="quiz__option">
<input class="quiz__option-btn" type="radio" name="q17" id="17B" value="B">
<label class="quiz__option-label" for="17B">Hiccup Horrendous Haddock III</label>
</div>
<div class="quiz__option">
<input class="quiz__option-btn" type="radio" name="q17" id="17C" value="C">
<label class="quiz__option-label" for="17C">Keith Hiccup</label>
</div>
</div>
<div class="quiz__problem">
<p class="quiz__question">18. What type of dragon does Toothless defeat at the end of "How to Train Your Dragon 2"?</p>
<div class="quiz__option">
<input class="quiz__option-btn" type="radio" name="q18" id="18A" value="A">
<label class="quiz__option-label" for="18A">Screaming Death</label>
</div>
<div class="quiz__option">
<input class="quiz__option-btn" type="radio" name="q18" id="18B" value="B">
<label class="quiz__option-label" for="18B">Bewilderbeast </label>
</div>
<div class="quiz__option">
<input class="quiz__option-btn" type="radio" name="q18" id="18C" value="C">
<label class="quiz__option-label" for="18C">Red Death</label>
</div>
</div>
<div class="quiz__problem">
<p class="quiz__question">19. Which character dies at the end of "How to Train Your Dragon 2"?</p>
<div class="quiz__option">
<input class="quiz__option-btn" type="radio" name="q19" id="19A" value="A">
<label class="quiz__option-label" for="19A">Gobber</label>
</div>
<div class="quiz__option">
<input class="quiz__option-btn" type="radio" name="q19" id="19B" value="B">
<label class="quiz__option-label" for="19B">Valka</label>
</div>
<div class="quiz__option">
<input class="quiz__option-btn" type="radio" name="q19" id="19C" value="C">
<label class="quiz__option-label" for="19C">Stoick</label>
</div>
</div>
<div class="quiz__problem">
<p class="quiz__question">20. In How to Train Your Dragon 2, what is Hiccup's dad called?</p>
<div class="quiz__option">
<input class="quiz__option-btn" type="radio" name="q20" id="20A" value="A">
<label class="quiz__option-label" for="20A">Stoick the Baker</label>
</div>
<div class="quiz__option">
<input class="quiz__option-btn" type="radio" name="q20" id="20B" value="B">
<label class="quiz__option-label" for="20B">Stoick the Vast</label>
</div>
<div class="quiz__option">
<input class="quiz__option-btn" type="radio" name="q20" id="20C" value="C">
<label class="quiz__option-label" for="20C">Stoick the Brave</label>
</div>
</div>
<div class="quiz__submit">
<input class="quiz__submit-btn" type="submit" value="Submit">
</div>
</form>
<div class="quiz__error-message display-none">At least one question is answered</div>
</div>
</div>
<script src="main.js"></script>
</body>
</html>