-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
67 lines (57 loc) · 1.92 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
55
56
57
58
59
60
61
62
63
64
65
66
67
<!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">
<title>JavaScript Fundamentals Quiz</title>
<link rel="stylesheet" href="./assets/css/style.css">
</head>
<body>
<!--header with view high score and time-->
<header>
<a href="#score-bank">View high scores</a>
<div id="timer">Time: 0</div>
</header>
<br>
<main>
<!--div for cover page-->
<div id="cover-page">
<h3>Coding Quiz Challenge</h3>
<p>Try to answer the following code-related questions within the time limit.
<br>
Keep in mind that incorrect answers will penalize your score/time by ten seconds!
</p>
<btn class="start-quiz">Start Quiz</btn>
</div>
<!---div for quiz-->
<div class="quiz">
<h3 class="ask"></h3>
<div id="choices">
<div class="choice1"></div>
<div class="choice2"></div>
<div class="choice3"></div>
<div class="choice4"></div>
</div>
</div>
<!--div for logging high score-->
<div class="high-score">
<h3>All done!</h3>
<div class="finalscore"></div>
<br>
<div>Enter initials:</div><input type="text" name="initials" id="initials">
<btn class="submit">Submit</btn>
</div>
<div class="correct">Correct!</div>
<div class="wrong">Wrong!</div>
<!--div for high score bank-->
<div id="score-bank">
<h3>High Scores</h3>
<ol id="scoredata"></ol>
<btn class=back>Go back</btn>
<btn class=clear>Clear high scores</btn>
</div>
</main>
<script src="./assets/js/script.js"></script>
</body>
</html>