-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
89 lines (87 loc) · 4.21 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-giJF6kkoqNQ00vy+HMDP7azOuL0xtbfIcaT9wjKHr8RbDVddVHyTfAAsrekwKmP1" crossorigin="anonymous">
<title>Ninja Quiz</title>
</head>
<body>
<!-- top section -->
<div class="intro py-3 bg-white text-center">
<div class="container">
<h2 class="text-primary display-3 my-4">Ninja Quiz</h2>
</div>
</div>
<div class="result py-4 d-none bg-light text-center">
<div class="container lead">
<p>You are <span class="text-primary display-4 p-3">0%</span> ninja</p>
</div>
</div>
<!-- quiz section -->
<div class="quiz py-4 bg-dark">
<div class="container">
<h2 class="my-5 text-white">On with the quiestions...</h2>
<form class="quiz-form text-light">
<div class="my-5">
<p class="lead font-weight-normal">
1. How do you give a ninja directions?
</p>
<div class="form-check my-2 text-white-50">
<input class="form-check-input" type="radio" name="q1" value="A" checked>
<label class="form-check-label">Show them a map</label>
</div>
<div class="form-check my-2 text-white-50">
<input class="form-check-input" type="radio" name="q1" value="B">
<label class="form-check-label">Don't worry, a ninja will find you</label>
</div>
</div>
<div class="my-5">
<p class="lead font-weight-normal">
2. If a ninja has 3 apple, then gives one to Mario & one to Yoshu, hoe many apples does the ninja have left?
</p>
<div class="form-check my-2 text-white-50">
<input class="form-check-input" type="radio" name="q2" value="A" checked>
<label class="form-check-label">1 apple</label>
</div>
<div class="form-check my-2 text-white-50">
<input class="form-check-input" type="radio" name="q2" value="B">
<label class="form-check-label">3 apples, and two corpses</label>
</div>
</div>
<div class="my-5">
<p class="lead font-weight-normal">
3. How do you know when you've met a ninja?
</p>
<div class="form-check my-2 text-white-50">
<input class="form-check-input" type="radio" name="q3" value="A" checked>
<label class="form-check-label">You'll recongnize the outfit</label>
</div>
<div class="form-check my-2 text-white-50">
<input class="form-check-input" type="radio" name="q3" value="B">
<label class="form-check-label">The grim reaper will tell you</label>
</div>
</div>
<div class="my-5">
<p class="lead font-weight-normal">
4. What is a ninja's favorite array method?
</p>
<div class="form-check my-2 text-white-50">
<input class="form-check-input" type="radio" name="q4" value="A" checked>
<label class="form-check-label">forEach()</label>
</div>
<div class="form-check my-2 text-white-50">
<input class="form-check-input" type="radio" name="q4" value="B">
<label class="form-check-label">Slice()</label>
</div>
</div>
<div class="text-center">
<input type="submit" class="btn btn-light">
</div>
</form>
</div>
</div>
<!-- -->
<script src="app.js"></script>
</body>
</html>