-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
54 lines (48 loc) · 1.69 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
51
52
53
54
<!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" />
<link rel="icon" type="image/x-icon" href="./assets/images/favicon.ico">
</head>
<body>
<div class="scores">
<a id="highscores_page_link" href="./assets/html/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-html" class="hide flex-container">
<h2 id="question-title"></h2>
<h2 id="answer-header"></h2>
<div id="choices" class="choices"></div>
<hr class="separator">
<h3 id="answer-status"></h3>
</div>
<div id="end-screen" class="hide">
<h3>All done!</h3>
<h2>Your final score is <span id="final-score"></span>.</h2>
<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/logic.js"></script>
<script src="./assets/js/questions.js"></script>
</body>
</html>