-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
257 lines (231 loc) · 10.3 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
<!DOCTYPE html>
<html lang="en">
<head>
<title>History|Ernesto</title>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<!-- Bootstrap CSS -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta.2/css/bootstrap.min.css" integrity="sha384-PsH8R72JQ3SOdhVi3uxftmaW6Vc51MKb0q5P2rRUpPvrszuE4W1povHYgTpBfshb" crossorigin="anonymous">
<link rel="stylesheet" href="assets/css/style.css">
</head>
<body>
<div class="jumbotron jumbotron-fluid">
<div class="container">
<h1 class="display-3 text-center">History Check!</h1>
<button id="start" class="btn btn-primary mx-auto center">Start Quiz</button>
<p class="lead text-center">You have 60 seconds to answer the questions</p>
<!--=======jumbotron for answers=======-->
<div id="jumboAnswers" class="jumbotron">
<h1 class="display-3">Conclusion!</h1>
<ul class="text-left">
<li id="correct">Correct: </li>
<li id="incorrect">Incorrect: </li>
<li id="unanswered">Unanswered: </li>
</ul>
<button id="restart" class="btn btn-primary ml-4">Restart</button>
</div>
</div>
<div class="card text-center">
<div class="card-header">
<h1 id="timer" class="card-title"></h1>
</div>
<div id="card-body" class="card-body">
<!--=======checkboxes=======-->
<h3>
1. Who was the first president of the United States?
</h3>
<div class="form-check form-check-inline">
<label class="form-check-label">
<input class="form-check-input" type="radio" name="usPresident" id="johnAdams" value="John Adams">
John Adams
</label>
</div>
<div class="form-check form-check-inline">
<label class="form-check-label">
<input class="form-check-input" type="radio" name="usPresident" id="georgeWashington" value="George Washington">
George Washington
</label>
</div>
<div class="form-check form-check-inline">
<label class="form-check-label">
<input class="form-check-input" type="radio" name="usPresident" id="thomasJefferson" value="Thomas Jefferson">
Thomas Jefferson
</label>
</div>
<!--=======end of checkbox=======-->
<!--=======checkboxes and questions=======-->
<h3>
2. Who assassinated president Abraham Lincoln?
</h3>
<div class="form-check form-check-inline">
<label class="form-check-label">
<input class="form-check-input" type="radio" name="assassinated" id="jamesEarlRay" value="James Earl Ray">
James Earl Ray
</label>
</div>
<div class="form-check form-check-inline">
<label class="form-check-label">
<input class="form-check-input" type="radio" name="assassinated" id="leeHarveyOswald" value="Lee Harvey oswald">
Lee Harvey oswald
</label>
</div>
<div class="form-check form-check-inline">
<label class="form-check-label">
<input class="form-check-input" type="radio" name="assassinated" id="johnWilkesBooth" value="John Wilkes Booth">
John Wilkes Booth<!--right-->
</label>
</div>
<!--=======end of checkbox=======-->
<!--=======checkboxes=======-->
<h3>
3. How many U.S. Presidents have there been?
</h3>
<div class="form-check form-check-inline">
<label class="form-check-label">
<input class="form-check-input" type="radio" name="presidents" id="1944" value="44">
44
</label>
</div>
<div class="form-check form-check-inline">
<label class="form-check-label">
<input class="form-check-input" type="radio" name="presidents" id="1945" value="45">
45
</label>
</div>
<div class="form-check form-check-inline">
<label class="form-check-label">
<input class="form-check-input" type="radio" name="presidents" id="1946" value="46">
46
</label>
</div>
<!--=======end of checkbox=======-->
<!--=======checkboxes=======-->
<h3>
4. Who is the only president to serve more than two terms?
</h3>
<div class="form-check form-check-inline">
<label class="form-check-label">
<input class="form-check-input" type="radio" name="terms" id="barackObama" value="Barack Obama">
Barack Obama
</label>
</div>
<div class="form-check form-check-inline">
<label class="form-check-label">
<input class="form-check-input" type="radio" name="terms" id="georgeWBush" value="George W. Bush">
George W. Bush
</label>
</div>
<div class="form-check form-check-inline">
<label class="form-check-label">
<input class="form-check-input" type="radio" name="terms" id="franklinDRoosevelt" value="Franklin D. Roosevelt">
Franklin D. Roosevelt
</label>
</div>
<!--=======end of checkbox=======-->
<!--=======checkboxes=======-->
<h3>
5. Which president is on the $1,000 bill?
</h3>
<div class="form-check form-check-inline">
<label class="form-check-label">
<input class="form-check-input" type="radio" name="bill" id="groverCleveland" value="Grover Cleveland">
Grover Cleveland
</label>
</div>
<div class="form-check form-check-inline">
<label class="form-check-label">
<input class="form-check-input" type="radio" name="bill" id="benjaminFranklin" value="Benjamin Franklin">
Benjamin Franklin
</label>
</div>
<div class="form-check form-check-inline">
<label class="form-check-label">
<input class="form-check-input" type="radio" name="bill" id="benjaminHarris" value="Benjamin Harris">
Benjamin Harris
</label>
</div>
<!--=======end of checkbox=======-->
<!--=======checkboxes=======-->
<h3>
6. How many stripes are on the American Flag?
</h3>
<div class="form-check form-check-inline">
<label class="form-check-label">
<input class="form-check-input" type="radio" name="flagStripes" id="twelve" value="12">
12
</label>
</div>
<div class="form-check form-check-inline">
<label class="form-check-label">
<input class="form-check-input" type="radio" name="flagStripes" id="thirteen" value="13">
13
</label>
</div>
<div class="form-check form-check-inline">
<label class="form-check-label">
<input class="form-check-input" type="radio" name="flagStripes" id="fifteen" value="15">
15
</label>
</div>
<!--=======end of checkbox=======-->
<!--=======checkboxes=======-->
<h3>
7. What year was the las two dollar bill printed in the United States?
</h3>
<div class="form-check form-check-inline">
<label class="form-check-label">
<input class="form-check-input" type="radio" name="twoDollarBill" id="ninetySix" value="1996">
1996
</label>
</div>
<div class="form-check form-check-inline">
<label class="form-check-label">
<input class="form-check-input" type="radio" name="twoDollarBill" id="twoThousand" value="2000">
2000
</label>
</div>
<div class="form-check form-check-inline">
<label class="form-check-label">
<input class="form-check-input" type="radio" name="twoDollarBill" id="twoThousandThree" value="2003">
2003
</label>
</div>
<!--=======end of checkbox=======-->
<!--=======checkboxes=======-->
<h3>
8. What year did WWII end?
</h3>
<div class="form-check form-check-inline">
<label class="form-check-label">
<input class="form-check-input" type="radio" name="wwIIend" id="forty" value=1940>
1940
</label>
</div>
<div class="form-check form-check-inline">
<label class="form-check-label">
<input class="form-check-input" type="radio" name="wwIIend" id="fotryThree" value=1943>
1943
</label>
</div>
<div class="form-check form-check-inline">
<label class="form-check-label">
<input class="form-check-input" type="radio" name="wwIIend" id="fortyFive" value=1945>
1945
</label>
</div>
<br>
<button id="done" class="btn btn-primary">Done!</button>
<!--=======end of checkbox=======-->
</div>
</div>
</div>
<!--=======end of jumbotron=======-->
<!-- Optional JavaScript -->
<!-- jQuery first, then Popper.js, then Bootstrap JS -->
<script src="https://code.jquery.com/jquery-3.2.1.slim.min.js" integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.3/umd/popper.min.js" integrity="sha384-vFJXuSJphROIrBnz7yo7oB41mKfc8JzQZiCq4NCceLEaO4IHwicKwpJf9c9IpFgh" crossorigin="anonymous"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta.2/js/bootstrap.min.js" integrity="sha384-alpBpkh1PFOepccYVYDB4do5UnbKysX5WZXm3XxPqe5iKTfUKjNkCk9SaVuEZflJ" crossorigin="anonymous"></script>
<script src="assets/javascript/app.js"></script>
</body>
</html>