-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
212 lines (212 loc) · 7.74 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Quiz Wiz</title>
<link rel="stylesheet" href="style/style.css" />
<link rel="stylesheet" href="style/quiz.css" />
<link rel="stylesheet" href="style/form.css" />
<link rel="stylesheet" href="style/leaderboard.css" />
<link rel="stylesheet" href="style/animation.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=Audiowide&display=swap"
rel="stylesheet"
/>
<link
rel="stylesheet"
href="https://use.fontawesome.com/releases/v5.6.3/css/all.css"
/>
</head>
<body>
<header>
<h1>Quizzard Wizard</h1>
<nav>
<ol>
<li>
<a href="./index.html">
<i class="fas fa-dungeon"></i>
<span>HOME</span>
</a>
</li>
<li>
<a href="./instructions.html">
<i class="fas fa-gamepad"></i>
<span>INSTRUCTIONS</span>
</a>
</li>
<li>
<a href="./leaderboard.html">
<i class="fas fa-dice-d20"></i>
<span>LEADERBOARD</span>
</a>
</li>
<li>
<a href="./about.html">
<i class="fas fa-laptop-code"></i>
<span>ABOUT</span>
</a>
</li>
</ol>
</nav>
</header>
<div class="animation-guest">
<div class="guest green-guest"></div>
<div class="guest yellow-guest"></div>
<div class="guest knife-guest"></div>
<div class="guest wizard-guest"></div>
<div class="guest charmander-guest"></div>
<div class="guest angel-guest"></div>
<div class="guest king-guest"></div>
<div class="guest pikachu-guest"></div>
<div class="guest pumpkin-guest"></div>
<div class="guest crazyred-guest"></div>
<div class="guest purple-guest"></div>
<div class="guest vs-guest"></div>
<div class="guest the-real-imposter-guest"></div>
<div class="guest house-guest"></div>
</div>
<main>
<div class="form-container" id="formContainer">
<form id="get-player-name">
<fieldset>
<legend>Welcome Quizzards!</legend>
<div class="user-input">
<hr />
<label for="player-name">Player Name</label>
<span>Enter your desired player name.</span>
<input
id="player-name"
type="text"
name="playerName"
placeholder="username"
value = ""
required
/>
<hr />
<label for="game-category">Category</label>
<span>Select your preferred quiz category.</span>
<select id="game-category" type="text" name="gameCategory">
<option value="general knowledge">General Knowledge</option>
<option value="entertainment: books">
Entertainment: Books
</option>
<option value="entertainment: film">Entertainment: Film</option>
<option value="entertainment: music">
Entertainment: Music
</option>
<option value="entertainment: musicals & theatres">
Entertainment: Musicals & Theatres
</option>
<option value="entertainment: television">
Entertainment: Television
</option>
<option value="entertainment: video games">
Entertainment: Video Games
</option>
<option value="entertainment: board games">
Entertainment: Board Games
</option>
<option value="science & nature">Science & Nature</option>
<option value="science: computers">Science: Computers</option>
<option value="science: mathematics">
Science: Mathematics
</option>
<option value="mythology">Mythology</option>
<option value="sports">Sports</option>
<option value="geography">Geography</option>
<option value="history">History</option>
<option value="politics">Politics</option>
<option value="celebrities">Celebrities</option>
<option value="animals">Animals</option>
<option value="vehicles">Vehicles</option>
<option value="entertainment: comics">
Entertainment: Comics
</option>
<option value="science: gadgets">Science: Gadgets</option>
<option value="entertainment: japanese anime & manga">
Entertainment: Japanese Anime & Manga
</option>
<option value="entertainment: cartoon & animations">
Entertainment: Cartoon & Animations
</option>
</select>
<hr />
<label for="number-question">#'s of questions</label>
<span>Choose the number of questions you want to answer.</span>
<select id="number-question" type="text" name="numberQuestion">
<option value="1">1</option>
<option value="5">5</option>
<option value="10">10</option>
<option value="15">15</option>
<option value="20">20</option>
<option value="25">25</option>
</select>
<hr />
<label>Difficulty</label>
<span>Select the difficulty level for the quiz.</span>
<div class="radio-div">
<label>
<input
type="radio"
id="game-difficulty"
name="gameDifficulty"
value="easy"
checked
/>
<p>Easy</p>
</label>
<label>
<input
type="radio"
id="game-difficulty"
name="gameDifficulty"
value="medium"
/>
<p>Medium</p>
</label>
<label>
<input
type="radio"
id="game-difficulty"
name="gameDifficulty"
value="hard"
/>
<p>Hard</p>
</label>
</div>
<hr />
<p><span id="start-button">Start Quiz</span></p>
</div>
</fieldset>
</form>
</div>
<div class="quiz-container" id="quizContainer">
<div class="gameInProgress">
<span id="gameStatus">Game in Progress</span>
</div>
<hr class="quiz-wiz-hr">
<div class="question">
<p id="question-x-of-y"></p>
<p id="pick-answer-alert"></p>
<p id="question-text">Loading questions...</p>
<ul id="options" class="options-container">
<!-- Options will be dynamically added using JavaScript -->
</ul>
</div>
<div class="navigation-styling" id="navigation">
<button id="nextBtn">Next</button>
</div>
</div>
</main>
<section></section>
<footer>
<hr />
<span id="easter-egg">Handcrafted in WA, USA</span>
</footer>
<script src="js/app.js" defer></script>
<script src="js/quizwiz.js" defer></script>
</body>
</html>