-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
52 lines (52 loc) · 1.72 KB
/
index.html
File metadata and controls
52 lines (52 loc) · 1.72 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="Assets/style.css" />
<script defer src="Assets/script.js"></script>
<title>Code-Quiz</title>
</head>
<body>
<div class="container">
<h1>Javascript Quiz!</h1>
<h1>Click the button to start the quiz</h1>
<p id="timeDisplay">Seconds left: <span id="time-left">60</span></p>
<div id="qContainer" class="hide">
<div id="question">Question</div>
<div id="answerBtn" class="btnGrid">
<button class="btn" id="a">Answer 1</button>
<button class="btn" id="b">Answer 2</button>
<button class="btn" id="c">Answer 3</button>
<button class="btn" id="d">Answer 4</button>
</div>
</div>
<div class="controls">
<button id="startBtn" class="btn">Start</button>
</div>
<div class="highscoreContainer hide" id="highscoreBoard">
<div class="scoreReadout" id="readOut">
<p>Score:<span id="scoreRead">0</span></p>
</div>
<div class="initals" id="enterInitals">
<input
type="text"
placeholder="Enter initials here"
id="initalsEntered"
/>
<button class="btn" id="submit">Submit</button>
</div>
<div class="leaders hide" id="leaderBoard">
<ul>
<li class="leaderScores">
First Place:<span id="first">First!</span>
</li>
</ul>
</div>
<div class="restartGame">
<button class="btn" id="restartBtn">Restart</button>
</div>
</div>
</div>
</body>
</html>