-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
199 lines (155 loc) · 5.33 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
<!-- \\\\\\\\\\\\\\\\\\ ANSWER KEY /////////////////
Q1 : Cats
Q2 : 24
Q3 : Female
Q4 : Lion-O
Q5 : 4
Q6 : Extra toes
Q7 : 10 days
Q8 : Polydactyls
-->
<!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">
<title>Trivia Game</title>
</head>
<link rel="stylesheet" type="text/css" href="assets/css/style.css">
<link href="https://fonts.googleapis.com/css?family=Gaegu" rel="stylesheet">
<body>
<header>
<div>
<img class="topImg" src="assets/images/Screen Shot 2018-07-01 at 7.59.10 PM.png">
</div>
<h1 class="headerTxt"> Cat Trivia! </h1>
</header>
<section class="hide">
<div id="showTime"></div>
<h2>
How much do you know about <strong>cats</strong>?
</h2>
<br>
<p class="question"> Which pet is best? <br>
<label>
<input data-answer="correct" type="radio" name="q1"> Cats
</label>
<label>
<input type="radio" name="q1"> Dogs
</label>
<label>
<input type="radio" name="q1"> Goldfish
</label>
<label>
<input type="radio" name="q1"> a rock
</label>
</p>
<p class="question"> How many whiskers does a cat typically have? <br>
<label>
<input type="radio" name="q2"> 12
</label>
<label>
<input data-answer="correct" type="radio" name="q2"> 24
</label>
<label>
<input type="radio" name="q2"> 32
</label>
<label>
<input type="radio" name="q2"> 48
</label>
</p>
<p class="question"> Calico and tortoiseshell cats are primarily which sex?<br>
<label>
<input type="radio" name="q3"> Both
</label>
<label>
<input type="radio" name="q3"> Male
</label>
<label>
<input data-answer="correct" type="radio" name="q3"> Female
</label>
<label>
<input type="radio" name="q3"> Unable to determine
</label>
</p>
<p class="question"> WHat is the main character's name in ThunderCats? <br>
<label>
<input type="radio" name="q4"> Panthro
</label>
<label>
<input type="radio" name="q4"> Jaga
</label>
<label>
<input data-answer="correct" type="radio" name="q4"> Lion-O
</label>
<label>
<input type="radio" name="q4"> Snarf
</label>
</p>
<p class="question"> How many cats did Abraham Lincoln have in the White House? <br>
<label>
<input type="radio" name="q5"> 1
</label>
<label>
<input type="radio" name="q5"> 2
</label>
<label>
<input type="radio" name="q5"> 3
</label>
<label>
<input data-answer="correct" type="radio" name="q5"> 4
</label>
</p>
<p class="question"> Hemingway Cats are felines that have: <br>
<label>
<input type="radio" name="q6"> Written a best-selling book
</label>
<label>
<input type="radio" name="q6"> No fur
</label>
<label>
<input type="radio" name="q6"> A mullet
</label>
<label>
<input data-answer="correct" type="radio" name="q6"> Extra toes
</label>
</p>
<p class="question"> How old are kittens when they begin to open their eyes?<br>
<label>
<input type="radio" name="q7"> 7 days
</label>
<label>
<input data-answer="correct" type="radio" name="q7"> 10 days
</label>
<label>
<input type="radio" name="q7"> 1 hour
</label>
<label>
<input type="radio" name="q7"> 12 hours
</label>
</p>
<p class="question"> Cats with extra toes are also known as:<br>
<label>
<input type="radio" name="q8"> Pterodactyls
</label>
<label>
<input type="radio" name="q8"> Diplodocus
</label>
<label>
<input data-answer="correct" type="radio" name="q8"> Polydactyls
</label>
<label>
<input type="radio" name="q8"> Oligodactyls
</label>
</p>
<div id="done"><button> Meow! </button></div>
</section>
<section id="results" style="display:none">
<div><h2>Correct: <span id="right"></span></h2></div>
<div><h2>Incorrect: <span id="wrong"></span></h2></div>
</section>
<script src="https://code.jquery.com/jquery-3.3.1.js" integrity="sha256-2Kok7MbOyxpgUVvAk/HJ2jigOSYS2auK4Pfzbm7uH60=" crossorigin="anonymous"></script>
<script src="assets/javascript/app.js"></script>
</body>
</html>