-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
446 lines (404 loc) · 17 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
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="description" content="Portfolio" />
<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=Poppins:wght@400;500;700&display=swap" rel="stylesheet" />
<script src="https://kit.fontawesome.com/fa62c117c7.js" crossorigin="anonymous"></script>
<link rel="stylesheet" href="styles.css">
<title>MediQuiz</title>
</head>
<body class="light" id="top">
<header class="header center">
<nav class="nav center">
<button type="button" aria-label="toggle theme" class="btn btn--icon">
<i id="btn-theme" class="fas fa-moon"></i>
</button>
<button type="button" aria-label="toggle navigation" class="btn btn--icon nav__hamburger">
<i class="fas fa-bars"></i>
</button>
</nav>
</header>
<main>
<div class="about center">
<h1>Welcome to <span class="about__name">MediQuiz</span></h1>
<p class="about__desc">We have created an educational trivia game with quizzes to spread information and create awareness about diabetes, anxiety/depression, and breast cancer -— 3 high-impact diseases in today's world.</p>
</div>
<section id="projects" class="section projects">
<h2 class="section__title">Quizzes</h2>
<div class="projects__grid">
<a href="#diabetes">
<div class="project" id="diabetes-box">
<h3 class="need-to-be-black">Diabetes</h3>
<p class="project__description">
A health condition in which the body's ability to produce insulin is inhibited.
</p>
</div>
</a>
<a href="#anxiety-depression">
<div class="project" id="anxiety-box">
<h3 class="need-to-be-black">Anxiety/Depression</h3>
<p class="project__description">
Characterized by a persistent feeling of sadness and a loss of interest.
</p>
</div>
</a>
<a href="#cancer">
<div class="project" id="cancer-box">
<h3 class="need-to-be-black">Breast Cancer</h3>
<p class="project__description">
A disease in which cells in the breast grow out of control.
</p>
</div>
</a>
</div>
</section>
<section class="section diabetes" id="diabetes">
<h2 class="section__title">Diabetes</h2>
<div class="diabetes question">
<h3>How many people (in millions) does diabetes affect?</h3>
<br>
<form>
<input type="radio" name="choice0" value="false"> 20.6<br>
<input type="radio" name="choice0" value="false"> 34.2<br>
<input type="radio" name="choice0" value="true"> 27.9<br>
<input type="radio" name="choice0" value="false"> 45.1<br>
</form>
<div>
<span class="btn btn--outline" onclick="submitAnswer(0)">Submit</span>
</div>
<p id="correctIncorrect0"> </p>
<br>
</div>
<div class="diabetes question">
<h3>What parts of the world are most affected by diabetes?</h3>
<br>
<form>
<input type="checkbox" name="choice1" value="true"> China <br>
<input type="checkbox" name="choice1" value="true"> India <br>
<input type="checkbox" name="choice1" value="false"> Canada <br>
<input type="checkbox" name="choice1" value="true"> USA <br>
</form>
<div>
<span class="btn btn--outline" onclick="submitAnswer(1)">Submit</span>
</div>
<p id="correctIncorrect1"> </p>
<br>
<div>
<div class="diabetes question">
<h3>Select possible cures to miitgate the effects of diabetes.</h3>
<br>
<form>
<input type="radio" name="choice2" value="false"> Incorporate some movement and physical activity everyday. <br>
<input type="radio" name="choice2" value="false"> Eat healthy, plant-based food. <br>
<input type="radio" name="choice2" value="false"> Manage blood sugar levels. <br>
<input type="radio" name="choice2" value="true"> All of the above. <br>
</form>
<div>
<span class="btn btn--outline" onclick="submitAnswer(2)">Submit</span>
</div>
<p id="correctIncorrect2"> </p>
<br>
<div>
<div class="diabetes question">
<h3>Select True or False: Middle-aged and older adults are still at the highest risk for developing type 2 diabetes.
</h3>
<br>
<form>
<input type="radio" name="choice3" value="true"> True <br>
<input type="radio" name="choice3" value="false"> False <br>
</form>
<div>
<span class="btn btn--outline" onclick="submitAnswer(3)">Submit</span>
</div>
<p id="correctIncorrect3"> </p>
<br>
<div>
<div class="diabetes question">
<h3>How many types of diabetes are there?</h3>
<br>
<form>
<input type="radio" name="choice4" value="false"> 1 <br>
<input type="radio" name="choice4" value="false"> 2 <br>
<input type="radio" name="choice4" value="true"> 3 <br>
<input type="radio" name="choice4" value="false"> 4 <br>
</form>
<div>
<span class="btn btn--outline" onclick="submitAnswer(4)">Submit</span>
</div>
<p id="correctIncorrect4"> </p>
<br>
<div>
<div class="diabetes question">
<h3>Select all the true statements below.</h3>
<br>
<form>
<input type="checkbox" name="choice5" value="false"> 1.4 million Americans are diagnosed with diabetes every year. <br>
<input type="checkbox" name="choice5" value="false"> 37.3 million people have diabetes (11.3% of the US population <br>
<input type="checkbox" name="choice5" value="true"> Close to 0.5 million people are blind due to diabetes <br>
<input type="checkbox" name="choice5" value="false"> 96 million American adults—more than 1 in 3—have prediabetes, more than 8 in 10 adults with prediabetes don’t know they have it. <br>
</form>
<div>
<span class="btn btn--outline" onclick="submitAnswer(5)">Submit</span>
</div>
<p id="correctIncorrect5"> </p>
<br>
<div>
<div class="diabetes question">
<h3>What body organs can be affected in the long-term by diabetes?</h3>
<br>
<form>
<input type="checkbox" name="choice6" value="true"> Brain <br>
<input type="checkbox" name="choice6" value="false"> Eyes <br>
<input type="checkbox" name="choice6" value="false"> Heart <br>
<input type="checkbox" name="choice6" value="false"> Nerves <br>
</form>
<div>
<span class="btn btn--outline" onclick="submitAnswer(6)">Submit</span>
</div>
<p id="correctIncorrect6"> </p>
<br>
<div>
<div class="diabetes question">
<h3>Can diabetes be inherited?</h3>
<br>
<form>
<input type="radio" name="choice7" value="true"> Yes <br>
<input type="radio" name="choice7" value="false"> No <br>
</form>
<div>
<span class="btn btn--outline" onclick="submitAnswer(7)">Submit</span>
</div>
<p id="correctIncorrect7"> </p>
<br>
<div>
<div>
<h3>Answers Correct (Diabetes):</h3>
<h3 id="diabetesCorrect">0</h3>
</div>
<section>
<!-- map diabetes -->
<section class="section anxiety-depression" id="anxiety-depression">
<h2 class="section__title">Anxiety and Depression</h2>
<div class="anxiety question">
<h3>What are some common risk factors of anxiety and depression?
</h3>
<br>
<form>
<input type="radio" name="choice8" value="false"> Trauma <br>
<input type="radio" name="choice8" value="false"> Stress <br>
<input type="radio" name="choice8" value="false"> Substance abuse <br>
<input type="radio" name="choice8" value="false"> Family history <br>
<input type="radio" name="choice8" value="true"> All of the Above <br>
</form>
<div>
<span class="btn btn--outline" onclick="submitAnswer(8)">Submit</span>
</div>
<p id="correctIncorrect8"> </p>
<br>
<div>
<div class="anxiety question">
<h3>What percent of adolescents suffer from anxiety and depression?
</h3>
<br>
<form>
<input type="radio" name="choice9" value="true"> 20% <br>
<input type="radio" name="choice9" value="false"> 30% <br>
<input type="radio" name="choice9" value="false"> 40% <br>
<input type="radio" name="choice9" value="false"> 50% <br>
</form>
<div>
<span class="btn btn--outline" onclick="submitAnswer(9)">Submit</span>
</div>
<p id="correctIncorrect9"> </p>
<br>
<div>
<div class="anxiety question">
<h3>What percentage of adolescents are being treated for anxiety and depression?</h3>
<br>
<form>
<input type="radio" name="choice10" value="false"> 20% <br>
<input type="radio" name="choice10" value="true"> 30% <br>
<input type="radio" name="choice10" value="false"> 40% <br>
<input type="radio" name="choice10" value="false"> 50% <br>
</form>
<div>
<span class="btn btn--outline" onclick="submitAnswer(10)">Submit</span>
</div>
<p id="correctIncorrect10"> </p>
<br>
<div>
<div class="anxiety question">
<h3>Which of these statements about anxiety are false?</h3>
<br>
<form>
<input type="checkbox" name="choice11" value="false"> Generalized anxiety may begin in childhood.<br>
<input type="checkbox" name="choice11" value="true"> Women and men are equally likely to be diagnosed with an anxiety disorder.<br>
<input type="checkbox" name="choice11" value="true"> Anxiety cannot cause physical changes in the body.<br>
</form>
<div>
<span class="btn btn--outline" onclick="submitAnswer(11)">Submit</span>
</div>
<p id="correctIncorrect11"> </p>
<br>
<div>
<div class="anxiety question">
<h3>What is NOT a way to prevent or treat anxiety?
</h3>
<br>
<form>
<input type="checkbox" name="choice12" value="false"> Exercise<br>
<input type="checkbox" name="choice12" value="true"> Consistent stress<br>
<input type="checkbox" name="choice12" value="false"> Medication<br>
<input type="checkbox" name="choice12" value="false"> Therapy<br>
</form>
<div>
<span class="btn btn--outline" onclick="submitAnswer(12)">Submit</span>
</div>
<p id="correctIncorrect12"> </p>
<br>
<div>
<div class="anxiety question">
<h3>In which countries is clinically diagnosed depression most prevalent?
</h3>
<br>
<form>
<input type="checkbox" name="choice13" value="true"> USA<br>
<input type="checkbox" name="choice13" value="false"> Australia<br>
<input type="checkbox" name="choice13" value="true"> Russia<br>
<input type="checkbox" name="choice13" value="true"> East Asia<br>
</form>
<div>
<span class="btn btn--outline" onclick="submitAnswer(13)">Submit</span>
</div>
<p id="correctIncorrect13"> </p>
<br>
<div>
<div>
<h3>Answers Correct (Anxiety and Depression):</h3>
<h3 id="anxietyCorrect">0</h3>
</div>
</section>
<section class = "section cancer" id = "cancer">
<h2 class="section__title">Breast Cancer</h2>
<div class="cancer-question">
<h3>Select all the ways in which you can lower your breast cancer risk (that are in your control):</h3><br>
<form>
<input type="checkbox" name="choice14" value="false"> Getting older <br>
<input type="checkbox" name="choice14" value="false"> Having a family history of breast cancer <br>
<input type="checkbox" name="choice14" value="true"> Exercising more <br>
<input type="checkbox" name="choice14" value="true"> Eating healthier (especially if you’re overweight or obese) <br>
<input type="checkbox" name="choice14" value="true"> Maintaining a healthy weight <br>
<input type="checkbox" name="choice14" value="false"> Limiting or eliminating alcohol <br>
</form>
<div>
<span class="btn btn--outline" onclick="submitAnswer(14)">Submit</span>
</div>
<p id="correctIncorrect14"> </p>
<br>
</div>
<div class="cancer-question">
<h3>True or False: Surgery and needle biopsies can cause breast cancer to spread. </h3><br>
<form>
<input type="radio" name="choice15" value="false"> True <br>
<input type="radio" name="choice15" value="true"> False <br>
</form>
<div>
<span class="btn btn--outline" onclick="submitAnswer(15)">Submit</span>
</div>
<p id="correctIncorrect15"> </p>
<br>
</div>
<div class="cancer-question">
<h3>True or False: Men can get breast cancer.</h3><br>
<form>
<input type="radio" name="choice16" value="true"> True <br>
<input type="radio" name="choice16" value="false"> False <br>
</form>
<div>
<span class="btn btn--outline" onclick="submitAnswer(16)">Submit</span>
</div>
<p id="correctIncorrect16"> </p>
<br>
</div>
<div class="cancer-question">
<h3>How much higher are a woman’s chances of developing breast cancer if her mother, a sister, or daughter had it?</h3><br>
<form>
<input type="radio" name="choice17" value="true"> 2 times <br>
<input type="radio" name="choice17" value="false"> 3 times <br>
<input type="radio" name="choice17" value="false"> 4 times <br>
<input type="radio" name="choice17" value="false"> 5 times <br>
</form>
<div>
<span class="btn btn--outline" onclick="submitAnswer(17)">Submit</span>
</div>
<p id="correctIncorrect17"> </p>
<br>
</div>
<div class="cancer-question">
<h3>About how many U.S. women will develop invasive breast cancer over the course of her lifetime.</h3><br>
<form>
<input type="radio" name="choice18" value="false"> 1 in 4 <br>
<input type="radio" name="choice18" value="false"> 1 in 6 <br>
<input type="radio" name="choice18" value="true"> 1 in 8 <br>
<input type="radio" name="choice18" value="false"> 1 in 10 <br>
</form>
<div>
<span class="btn btn--outline" onclick="submitAnswer(18)">Submit</span>
</div>
<p id="correctIncorrect18"> </p>
<br>
</div>
<div>
<h3>Answers Correct (Breast Cancer):</h3>
<h3 id="cancerCorrect">0</h3>
</div>
</section>
<section id="projects" class="section projects">
<h2 class="section__title">Resources</h2>
<div class="projects__grid">
<a href="https://www.diabetes.org/healthylivingnews?gclid=CjwKCAjwgr6TBhAGEiwA3aVuIUeY_JDP0IngO12tKyl_mtMqSIn9OeQ_HgLWIrkp4GuFDUPAoCqs0BoCqmoQAvD_BwE">
<div class="project" id="diabetes-box">
<h3 class="need-to-be-black">Diabetes</h3>
<p class="project__description">
American Diabetes Assocation newsletter
</p>
</div>
</a>
<a href="https://www.samhsa.gov/find-help/national-helpline">
<div class="project" id="anxiety-box">
<h3 class="need-to-be-black">Anxiety/Depression</h3>
<p class="project__description">
National helpline and additional resources
</p>
</div>
</a>
<a href="https://www.cancercare.org/diagnosis/breast_cancer">
<div class="project" id="cancer-box">
<h3 class="need-to-be-black">Breast Cancer</h3>
<p class="project__description">
Free professional support services (counseling, support groups)
</p>
</div>
</a>
</div>
</section>
</main>
<footer class="footer">
<a href="/" class="link footer__link">
Created with ❤️ By Tia, Ashna, and Janani
</a>
</footer>
<div class="scroll-container">
<div class="scroll-top">
<a aria-label="Scroll up" href="#top">
<i aria-hidden="true" class="fas fa-arrow-up"></i>
</a>
</div>
</div>
<script src="./script.js"></script>
</body>
</html>