-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
279 lines (279 loc) · 12.1 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link
rel="stylesheet"
href="https://cdn.jsdelivr.net/npm/@picocss/pico@2/css/pico.min.css"
/>
<link
rel="stylesheet"
href="https://cdn.jsdelivr.net/npm/@picocss/pico@2/css/pico.colors.min.css"
/>
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link
href="https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap"
rel="stylesheet"
/>
<link rel="stylesheet" href="./css/main.css" />
<title>Recap Project - Quiz App</title>
</head>
<body>
<header>
<h1 class="pt-1 pb-3">Quiz App</h1>
</header>
<main>
<section class="main__home-section" data-js="homeSection">
<!-- card start -->
<div class="question-card" id="card1">
<a
class="question-card__bookmark transition-all-s"
href="javascript:void(0)"
><img src="images/bookmark.png" alt=""
/></a>
<p class="question-card__question pa-1">
What is the only food that never spoils?
</p>
<button
class="button__show mt-1 mb-1"
data-js="showAnswerButton1"
>
Show Answer
</button>
<p class="question-card__answer hidden" data-js="answerQ01">
Honey
</p>
<div class="question-card__tags">
<a href="#">#food</a>
<a href="#">#curiosities</a>
<a href="#">#general</a>
</div>
</div>
<!-- card end -->
<!-- card start -->
<div class="question-card" id="card2">
<a
class="question-card__bookmark transition-all-s"
href="javascript:void(0)"
><img src="images/bookmark.png" alt=""
/></a>
<p class="question-card__question pa-1">
How many hearts does an octopus have?
</p>
<button
class="button__show mt-1 mb-1"
data-js="showAnswerButton2"
>
Show Answer
</button>
<p class="question-card__answer hidden" data-js="answerQ02">
Three
</p>
<div class="question-card__tags">
<a href="#">#food</a>
<a href="#">#curiosities</a>
<a href="#">#general</a>
</div>
</div>
<!-- card end -->
<!-- card start -->
<div class="question-card" id="card3">
<a
class="question-card__bookmark transition-all-s"
href="javascript:void(0)"
><img src="images/bookmark.png" alt=""
/></a>
<p class="question-card__question pa-1">
Which planet in our solar system has the most moons?
</p>
<button class="button__show mt-1 mb-1">Show Answer</button>
<p class="question-card__answer hidden">Jupiter</p>
<div class="question-card__tags">
<a href="#">#food</a>
<a href="#">#curiosities</a>
<a href="#">#general</a>
</div>
</div>
<!-- card end -->
<!-- card start -->
<div class="question-card" id="card4">
<a
class="question-card__bookmark transition-all-s"
href="javascript:void(0)"
><img src="images/bookmark.png" alt=""
/></a>
<p class="question-card__question pa-1">
Which country has no rivers?
</p>
<button class="button__show mt-1 mb-1">Show Answer</button>
<p class="question-card__answer hidden">Saudi Arabia</p>
<div class="question-card__tags">
<a href="#">#food</a>
<a href="#">#curiosities</a>
<a href="#">#general</a>
</div>
</div>
<!-- card end -->
<!-- card start -->
<div class="question-card" id="card5">
<a
class="question-card__bookmark transition-all-s"
href="javascript:void(0)"
><img src="images/bookmark.png" alt=""
/></a>
<p class="question-card__question pa-1">
In which country are there more sheep than people?
</p>
<button class="button__show mt-1 mb-1">Show Answer</button>
<p class="question-card__answer hidden">New Zealand</p>
<div class="question-card__tags">
<a href="#">#food</a>
<a href="#">#curiosities</a>
<a href="#">#general</a>
</div>
</div>
<!-- card end -->
<!-- card start -->
<div class="question-card" id="card6">
<a
class="question-card__bookmark transition-all-s"
href="javascript:void(0)"
><img src="images/bookmark.png" alt=""
/></a>
<p class="question-card__question pa-1">
What is the largest organ in the human body?
</p>
<button class="button__show mt-1 mb-1">Show Answer</button>
<p class="question-card__answer hidden">The skin</p>
<div class="question-card__tags">
<a href="#">#food</a>
<a href="#">#curiosities</a>
<a href="#">#general</a>
</div>
</div>
<!-- card end -->
<!-- card start -->
<div class="question-card" id="card7">
<a
class="question-card__bookmark transition-all-s"
href="javascript:void(0)"
><img src="images/bookmark.png" alt=""
/></a>
<p class="question-card__question pa-1">
What is the rarest blood type?
</p>
<button class="button__show mt-1 mb-1">Show Answer</button>
<p class="question-card__answer hidden">AB negative</p>
<div class="question-card__tags">
<a href="#">#food</a>
<a href="#">#curiosities</a>
<a href="#">#general</a>
</div>
</div>
<!-- card end -->
<!-- card start -->
<div class="question-card" id="card8">
<a
class="question-card__bookmark transition-all-s"
href="javascript:void(0)"
><img src="images/bookmark.png" alt=""
/></a>
<p class="question-card__question pa-1">
What is the tallest breed of dog in the world?
</p>
<button class="button__show mt-1 mb-1">Show Answer</button>
<p class="question-card__answer hidden">The Great Dane</p>
<div class="question-card__tags">
<a href="#">#food</a>
<a href="#">#curiosities</a>
<a href="#">#general</a>
</div>
</div>
<!-- card end -->
<!-- card start -->
<div class="question-card" id="card9">
<a
class="question-card__bookmark transition-all-s"
href="javascript:void(0)"
><img src="images/bookmark.png" alt=""
/></a>
<p class="question-card__question pa-1">
What is the only bird that can fly backwards?
</p>
<button class="button__show mt-1 mb-1">Show Answer</button>
<p class="question-card__answer hidden">The hummingbird</p>
<div class="question-card__tags">
<a href="#">#food</a>
<a href="#">#curiosities</a>
<a href="#">#general</a>
</div>
</div>
<!-- card end -->
<!-- card start -->
<div class="question-card" id="card10">
<a
class="question-card__bookmark transition-all-s"
href="javascript:void(0)"
><img src="images/bookmark.png" alt=""
/></a>
<p class="question-card__question pa-1">
What is the longest river in the world?
</p>
<button class="button__show mt-1 mb-1">Show Answer</button>
<p class="question-card__answer hidden">The Nile River</p>
<div class="question-card__tags">
<a href="#">#food</a>
<a href="#">#curiosities</a>
<a href="#">#general</a>
</div>
</div>
<!-- card end -->
</section>
</main>
<nav>
<ul>
<li>
<a
data-js="home.link"
class="nav__links nav__links-current"
href="index.html"
><img
class="nav__images"
src="images/home.png"
alt="This is the Home-Link Icon"
/></a>
</li>
<li>
<a
data-js="bookmark.link"
class="nav__links"
href="bookmark.html"
><img
class="nav__images"
src="images/bookmark.png"
alt="This is the Bookmark-Link Icon"
/></a>
</li>
<li>
<a data-js="form.link" class="nav__links" href="form.html"
><img
class="nav__images"
src="images/plus.png"
alt="This is the Form-Link Icon"
/></a>
</li>
<li>
<a data-js="user.link" class="nav__links" href="user.html"
><img
class="nav__images"
src="images/user.png"
alt="This is the User-Link Icon"
/></a>
</li>
</ul>
</nav>
<script src="./js/index.js"></script>
</body>
</html>