-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
67 lines (53 loc) · 2.09 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>TIMED CODING QUIZ ⏱️ </title>
<link rel="stylesheet" href="./develop/stylesheet.css" />
</head>
<body>
<header>
<div class="countDown">
<div class="timerText invisible" id = "timerText"> Time left: <span id="counter"></span>
</div>
</div>
<!--
<div class="highScoreDisplay">
placeholder for highscrore
</div> -->
</header>
<!-- startscreen start -->
<div class="startScreen" id="quizDirections">
<section class="infoList">
<div class="info">1. You have 1 minute to finish the quiz. </div>
<div class="info">2. You will select one correct answer.</div>
<div class="info">3. You will be deducted 10 seconds per wrong answer.</div>
<div class="info">4. Your remaining time at the end of the quiz will be saved as your score.</div>
<div class="info"> GOOD LUCK!</div>
</section>
<button id="startButton" class="quizButton"> Start Quiz!</button>
</div>
<!-- startscreen end -->
<!-- quiz question start -->
<section id="quizSection" class="invisible ">
<h1 id="question"> Question </h1>
<div id="answers" class="buttons">
<button id="answer-1" class="answer">Answer</button>
<button id="answer-2" class="answer">Answer</button>
<button id="answer-3" class="answer">Answer</button>
<button id="answer-4" class="answer">Answer</button>
</div>
</section>
<div id="result" class="result">
<!-- SHOWS RESULTS -->
</div>
<!-- preparing for highscore display -->
<div id="leaderBoard" class="leaderBoard invisible">
<button id="highscoreButton" class="invisible quizButton" onclick="startNewGame()">CLICK TO RETAKE</button>
</div>
<!-- quiz question end -->
<script src="./develop/script.js"></script>
</body>
</html>