-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
61 lines (58 loc) · 1.91 KB
/
index.html
File metadata and controls
61 lines (58 loc) · 1.91 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
50
51
52
53
54
55
56
57
58
59
60
61
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Code Quiz Challenge</title>
<link rel="stylesheet" type="text/css" href="assets/css/style.css" />
</head>
<body>
<div class="container">
<div id="startpage">
<h2>This quiz will test your knowledge</h2>
<h2>on various Spanish words</h2>
<button id="startbtn" onclick="startQuiz()">Start Code Quiz</button>
<button id="startPageHighscore" onclick="showHighscore()">
High Scores
</button>
</div>
<div id="quiz">
<div id="timer">Time left:</div>
<div id="questions"><p>Questions Placeholder</p></div>
<button id="a" onclick="checkAnswer('a')">A</button>
<button id="b" onclick="checkAnswer('b')">B</button>
<button id="c" onclick="checkAnswer('c')">C</button>
<button id="d" onclick="checkAnswer('d')">D</button>
<div id="result"></div>
</div>
<div id="gameover">
<div id="finalScore"></div>
<input
type="text"
size="40"
placeholder="Enter you initials for high score"
name="intials"
id="initials"
/>
<button id="submitScore">Submit Score</button>
</div>
<div id="highscoreContainer">
<div id="high-scorePage">
<div id="highscore-header">
<h3>User Initials</h3>
<h3>Score</h3>
</div>
<div id="highscore-initials"></div>
<div id="highscore-score"></div>
</div>
<div id="endGameBtns">
<button id="playAgain" onclick="replayQuiz()">Play Again</button>
<button id="clearHighscore" onclick="clearScore()">
Clear Highscores
</button>
</div>
</div>
</div>
<script src="assets/js/script.js"></script>
</body>
</html>