-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
54 lines (46 loc) · 1.84 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">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="Asssets/css/style.css">
<title>QUIZ</title>
</head>
<body>
<header id = "viewscores">
<div><button class = "toScoreBtn" onclick = "board()">View Highscores</button></div>
<div><h3 id = "timer">Time: 0</h3></div>
</header>
<main>
<!--Start-->
<div id = "start" class = "container visible">
<h1>Coding Quiz Challange</h1>
<p>Answer the following questions within the time limit.
Incorrect answers will penalize your score/time by 15 seconds!</p>
<button class = "button starBtn" > Start Quiz</button>
</div>
<!--Questions-->
<div id = "question" class = "container hide">
<h2 id = "prompts"> Question</h2>
<ol id = "choices"></ol>
</div>
<div id = "questionStatus" class = "container hide">
</div>
<div id = "getName" class = "container hide">
<h2>You are Done!</h2>
<h3 id = "scoreDisplay"></h3>
<label class="text-right" for="name">Name:</label>
<input type="text" id="name" name="user-name" placeholder = "Enter Name" >Enter Name</input>
<button class = "button" type ="submit" onclick = "getNames()">Submit</button>
</div>
<!--Score Board-->
<div id = "scoreBoard" class = "container hide">
<h2 class = "scoreDisplay" >High Scores</h2>
<ol id ="scorePost"></ol>
<button class = "button" onclick = "begin()">Go Back</button>
<button class = "button" id = 'clear' >Clear Highscores</button>
</div>
</main>
<script src="Asssets/js/script.js"></script>
</body>
</html>