-
Notifications
You must be signed in to change notification settings - Fork 49
/
quiz.html
80 lines (72 loc) · 3.96 KB
/
quiz.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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width" />
<!-- favicon -->
<link rel="apple-touch-icon" sizes="180x180" href="./Assets/favicon/apple-touch-icon.png" />
<link rel="icon" type="image/png" sizes="32x32" href="./Assets/favicon/favicon-16x16.png" />
<link rel="icon" type="image/png" sizes="16x16" href="./Assets/favicon/favicon-32x32.png" />
<link rel="manifest" href="./Assets/favicon/site.webmanifest" />
<link rel="mask-icon" href="./Assets/favicon/safari-pinned-tab.svg" color="#5bbad5" />
<meta name="msapplication-TileColor" content="#da532c" />
<meta name="theme-color" content="#ffffff" />
<title>TruHealth-Quiz</title>
<!-- css -->
<link href="./Assets/Css/style.css" rel="stylesheet" type="text/css" />
<script src="./Script/jquery.min.js"></script>
<script src="https://kit.fontawesome.com/a076d05399.js"></script>
<link
href="https://fonts.googleapis.com/css2?family=Baloo+Bhaijaan+2&family=Comfortaa:wght@300&family=Montserrat:wght@100&family=Patrick+Hand&family=Poppins:wght@200;300&family=Raleway:wght@300&family=Ubuntu:wght@300&family=Zen+Antique&display=swap"
rel="stylesheet"
/>
<link href="https://fonts.googleapis.com/css2?family=Raleway:wght@500&display=swap" rel="stylesheet" />
<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&display=swap" rel="stylesheet" />
</head>
<body onload="loaded()">
<div id="loader"></div>
<div class="game-header">
<a href="./index.html">
<img src="./Assets/Images/TruHealth-center.png" alt="TruHealth" />
</a>
</div>
<center>
<h1>The Quiz!</h1>
<section class="fillerQuestion">
<h3>How was your day today?</h3>
<button id="btn11" type="button" class="responses-btn" onclick="filler1()">Good!</button>
<button id="btn12" type="button" class="responses-btn" onclick="filler2()">In the middle</button>
<button id="btn13" type="button" class="responses-btn" onclick="filler3()">Not good...</button>
</section>
<section class="firstQuestion">
<h3>How are you feeling right now?</h3>
<button id="btn1" type="button" class="responses-btn" onclick="happy()">Happy/Content</button>
<button id="btn2" type="button" class="responses-btn" onclick="sad()">Sad/Discontent</button>
<button id="btn3" type="button" class="responses-btn" onclick="angry()">Angry/Irritated</button>
<button id="btn4" type="button" class="responses-btn" onclick="nervous()">Nervous/Tense</button>
<button id="btn5" type="button" class="responses-btn" onclick="sleepy()">Sleepy/Tired</button>
<div id="results"></div>
</section>
<section class="secondQuestion">
<h3>What genres do you typically like?</h3>
<button id="btn6" type="button" class="responses-btn" onclick="rock()">Rock</button>
<button id="btn7" type="button" class="responses-btn" onclick="rap()">Hip-hop/Rap</button>
<button id="btn8" type="button" class="responses-btn" onclick="pop()">Pop</button>
<button id="btn9" type="button" class="responses-btn" onclick="alt()">Alternative</button>
<button id="btn10" type="button" class="responses-btn" onclick="country()">Country</button>
</section>
<section class="Results-show"></section>
<section class = "Results">
<button id='btn11' class="resultbtn" type="button" onclick="checkResults()"><strong><i>Get my results!</i></strong></button>
</section>
<button class="back-btn"><a href="./games.html">Go Back</a></button>
</center>
<footer class="footer">
<p>Made with <i class="fa fa-heart pulse"></i> by Team TruHealth</p>
</footer>
<script src="./Script/script.js"></script>
<script src="./Script/quiz.js"></script>
</body>
</html>