-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
49 lines (49 loc) · 1.92 KB
/
index.html
File metadata and controls
49 lines (49 loc) · 1.92 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
<!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/css/reset.css">
<link href="./assets/css/style.css" rel="stylesheet">
<script defer src="./assets/js/script.js"></script>
<title>JavaScript Coding Quiz</title>
</head>
<body>
<header id='header' class="hidden">
<div class="finalScore">
<div class="metrics">
<h1 id="timer">Timer <span>0</span></h1>
<h1 id="currentScore">Score <span>0</span></h1>
</div>
</div>
</header>
<div id="intro">
<h1>JavaScript Coding Quiz</h1>
<p>Try to answer as many code-related questions within the alloted time. Keep in mind that any wrong answers will deduct 10 seconds off the timer.</p>
<div>
<button id="start-btn" class="control-btn">Start</button>
<button class="control-btn">
<a href="./index-scores.html">High Scores</a>
</button>
</div>
</div>
<div id="quizContainer" class="container hidden">
<div id="question-container">
<h2 id="question">Question</h2>
<div id="choices" class="btn-grid">
<button id="0" class="btn">Choice 1</button>
<button id="1" class="btn">Choice 2</button>
<button id="2" class="btn">Choice 3</button>
<button id="3" class="btn">Choice 4</button>
</div>
<h3 id="displayMessage"></h3>
</div>
</div>
<div id="inputHS" class="scoresInput">
<h1 class="completion-message">All Done!</h1>
<p class="initials-input">Please enter your initials <input id="initials"></p>
<button id="submitInitials-btn" class="control-btn submit">Submit Initials</button>
</div>
</body>
</html>