-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
48 lines (40 loc) · 1.43 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
<!DOCTYPE html>
<html lang="en-gb">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<title>Coding Quiz</title>
<link rel="stylesheet" href="./assets/css/styles.css" />
</head>
<body>
<div class="scores"><a href="highscores.html">View Highscores</a></div>
<div class="timer">Time: <span id="time">0</span></div>
<div class="wrapper">
<div id="start-screen" class="start">
<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 id="questions" class="hide">
<h2 id="question-title"></h2>
<div id="choices" class="choices"></div>
</div>
<div id="end-screen" class="hide">
<h2>All done!</h2>
<p>Your final score is <span id="final-score"></span>.</p>
<p>
Enter initials: <input type="text" id="initials" max="3" />
<button id="submit">Submit</button>
</p>
</div>
<div id="feedback" class="feedback hide"></div>
</div>
<script src="./assets/js/questions.js"></script>
<script src="./assets/js/logic.js"></script>
</body>
</html>