-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
175 lines (167 loc) · 6.67 KB
/
Copy pathindex.html
File metadata and controls
175 lines (167 loc) · 6.67 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<!-- Meta Tags -->
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- Includes -->
<link rel="stylesheet" href="style/common.css">
<link rel="stylesheet" href="style/colours.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.1.0/css/all.min.css"
integrity="sha512-10/jx2EXwxxWqCLX/hHth/vu2KY3jCF70dCQB8TSgNjbCVAC/8vai53GfMDrO2Emgwccf2pJqxct9ehpzG+MTw=="
crossorigin="anonymous" referrerpolicy="no-referrer" />
<!-- Open Graph Tags -->
<meta property="og:title" content="Play">
<meta property="og:site_name" content="QuizzON">
<meta property="og:url" content="https://4nner.github.io/SET08101-CW/">
<meta property="og:description" content="">
<meta property="og:type" content="website">
<meta property="og:image" content="https://4nner.github.io/SET08101-CW/img/og-banner.png">
<!-- Website Info -->
<title>QuizzON - Home</title>
</head>
<body>
<!-- Navigation Menu -->
<nav>
<label class="logo">QuizzON</label>
<input type="checkbox" id="check">
<label for="check" class="checkbtn">
<i class="fas fa-bars"></i>
</label>
<ul class="mobile-menu">
<li><a href="index.html" class="active"><i class="fa-solid fa-house"></i> Home</a></li>
<!--<li><a href="about.html"><i class="fa-solid fa-address-card"></i> About</a></li>-->
<li><a href="leaderboard.html"><i class="fa-solid fa-trophy"></i> Leaderboad</a></li>
<!--<li><a href="contact.html"><i class="fa fa-fw fa-envelope"></i> Contact</a></li>-->
<li><a href="javascript:void(0);" onclick="switchTheme()"><i class="fa fa-moon toggle" id="switch"></i> Theme</a>
</li>
</ul>
</nav>
<!-- Quiz Builder -->
<div class="container flex-column">
<!-- Introduction -->
<div id="explaination" class="centered">
<h2>How does it work?</h2>
<p class="introduction">QuizzON lets you play the quiz you want to play!<br>
Simply select the topic, the number of questions and the difficulty.<br>
Once done you need to click on "Let's Go" to start playing your customised quiz!</p>
</div>
<!-- Topic -->
<div id="topic" class="centered">
<h3>Choose the Topic</h3>
<a href="javascript:void(0);" onclick="setTopic('9')" class="button choice" id="9">
<div id="circle"></div>
<span>General Knowledge</span>
</a>
<a href="javascript:void(0);" onclick="setTopic('11')" class="button choice" id="11">
<div id="circle"></div>
<span>Movies</span>
</a>
<a href="javascript:void(0);" onclick="setTopic('12')" class="button choice" id="12">
<div id="circle"></div>
<span>Music</span>
</a>
<a href="javascript:void(0);" onclick="setTopic('14')" class="button choice" id="14">
<div id="circle"></div>
<span>Television</span>
</a>
<a href="javascript:void(0);" onclick="setTopic('15')" class="button choice" id="15">
<div id="circle"></div>
<span>Video Games<span>
</a>
<a href="javascript:void(0);" onclick="setTopic('16')" class="button choice" id="16">
<div id="circle"></div>
<span>Board Games<span>
</a>
<a href="javascript:void(0);" onclick="setTopic('17')" class="button choice" id="17">
<div id="circle"></div>
<span>Science</span>
</a>
<a href="javascript:void(0);" onclick="setTopic('18')" class="button choice" id="18">
<div id="circle"></div>
<span>Computers</span>
</a>
<a href="javascript:void(0);" onclick="setTopic('19')" class="button choice" id="19">
<div id="circle"></div>
<span>Mathematics</span>
</a>
<a href="javascript:void(0);" onclick="setTopic('21')" class="button choice" id="21">
<div id="circle"></div>
<span>Sports</span>
</a>
<a href="javascript:void(0);" onclick="setTopic('22')" class="button choice" id="22">
<div id="circle"></div>
<span>Geography</span>
</a>
<a href="javascript:void(0);" onclick="setTopic('23')" class="button choice" id="23">
<div id="circle"></div>
<span>History</span>
</a>
<a href="javascript:void(0);" onclick="setTopic('24')" class="button choice" id="24">
<div id="circle"></div>
<span>Politics</span>
</a>
<a href="javascript:void(0);" onclick="setTopic('25')" class="button choice" id="25">
<div id="circle"></div>
<span>Arts</span>
</a>
<a href="javascript:void(0);" onclick="setTopic('27')" class="button choice" id="27">
<div id="circle"></div>
<span>Animals</span>
</a>
<a href="javascript:void(0);" onclick="setTopic('28')" class="button choice" id="28">
<div id="circle"></div>
<span>Vehicle</span>
</a>
</div>
<!-- Question Number -->
<div id="number" class="centered">
<h3>Choose the Number of Questions</h3>
<a href="javascript:void(0);" onclick="setNumber('10')" class="button choice" id="10">
<div id="circle"></div>
<span>10</span>
</a>
<a href="javascript:void(0);" onclick="setNumber('20')" class="button choice" id="20">
<div id="circle"></div>
<span>20</span>
</a>
<a href="javascript:void(0);" onclick="setNumber('30')" class="button choice" id="30">
<div id="circle"></div>
<span>30</span>
</a>
<a href="javascript:void(0);" onclick="setNumber('40')" class="button choice" id="40">
<div id="circle"></div>
<span>40</span>
</a>
</div>
<!-- Difficulty -->
<div id="difficulty" class="centered">
<h3>Choose the Difficulty</h3>
<a href="javascript:void(0);" onclick="setDifficulty('easy')" class="button choice" id="easy">
<div id="circle"></div>
<span>Easy</span>
</a>
<a href="javascript:void(0);" onclick="setDifficulty('medium')" class="button choice" id="medium">
<div id="circle"></div>
<span>Medium</span>
</a>
<a href="javascript:void(0);" onclick="setDifficulty('hard')" class="button choice" id="hard">
<div id="circle"></div>
<span>Hard</span>
</a>
</div>
<!-- Ready -->
<div id="ready" class="centered">
<h3>Are you Ready?</h3>
<a href="javascript:void(0);" onclick="build()" class="button" id="start">
<div id="dub-arrow"><img src="img/iconmonstr-arrow-48-240.png?raw=true"></div>
<span>Let's Go!</span>
</a>
</div>
</div>
<!-- Scripts -->
<script src="js/darkmode.js"></script>
<script src="js/builder.js"></script>
</body>
</html>