-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.html
50 lines (43 loc) · 1.7 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
<!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/css/style.css">
<title>Code Quiz</title>
</head>
<body>
<header>
<div>
<a href="highscores.html"><button class="scores-header" id="view-high-scores">View High Scores</button></a>
</div>
<div class="timer">
<p>Time:
<span id="timer">0</span>
</p>
</div>
</header>
<main class="quiz">
<div id="quiz-start">
<div class="landing" id="start-screen">
<h1>Coding Quiz Challenge</h1>
<p>Try to answer the following code-related questions within the time limit. Keep in mind that incorrect answers will penalize your score/time by ten seconds!</p>
<button id="start">Start Quiz</button>
</div>
</div>
<div class="hide" id="questions">
<h2 id="question-words"></h2>
<div class="options" id="options"></div>
</div>
<div class="hide" id="quiz-end">
<h2>All Done!</h2>
<p>Your final score is: <span id="score-final"></span></p>
<p>Please enter your name: <input type="text" id="name" max="3" />
<button id="submit-score">Submit</button>
</p>
</div>
<div id="feedback" class="feedback hide"></div>
</main>
<script src="./assets/js/script.js"></script>
</body>
</html>