-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
64 lines (62 loc) · 3.2 KB
/
index.html
File metadata and controls
64 lines (62 loc) · 3.2 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="assets/reset.css">
<link rel="stylesheet" href="assets/style.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=Press+Start+2P&display=swap" rel="stylesheet">
<title>Glass Animals Quiz</title>
</head>
<body>
<header>
<h1>Glass Animals Quiz</h1>
</header>
<main>
<section class="start">
<h2>Welcome to the Glass Animals Quiz!</h2>
<p>You will be presented with a series of questions surrounding the English band Glass Animals. Correct answers will move you to the next question, while incorrect answers will deduct time/points. Your remaining time will be tallied and used as your final score.
When you are ready, press the Start button below to begin.
</p>
<button id="start-button">Start</button>
</section>
<section class="question-box hidden">
<section class="quiz">
<h2 id="question">This is a sample question. What does this question represent you ask? Well I just don't know.</h2>
<section id="answers">
<ul>
<li><button data-label="A" id="button-1" class="button">This is a really really really really really really really long piece of text.</button></li>
<li><button data-label="B" id="button-2" class="button">Answer 2</button></li>
<li><button data-label="C" id="button-3" class="button">Answer 3</button></li>
<li><button data-label="D" id="button-4" class="button">Answer 4</button></li>
</ul>
<h2 id="confirmation"></h2>
<h2 id="timer">Time: 90</h2>
</section>
</section>
<section class="hidden" id="fail">
<h2>You failed!</h2>
</section>
<section class="highscores hidden">
<h2>High Scores</h2>
<ul id="score-list"></ul>
<form id="score-input">
<label for="initials">Initials:</label>
<input type="text" id="initials" name="initials">
</form>
</section>
<button class="hidden" id="try-again">Try again?</button>
<button class="hidden" id="clear-highscores">Clear highscores?</button>
</section>
<section class="image-box hidden">
<div class="image-holder">
<img id="question-image" src="./assets/images/dreamland.jpg" />
</div>
</section>
</main>
<script src="./assets/script.js"></script>
</body>
</html>