-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
44 lines (44 loc) · 1.56 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
<!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>Quiz</title>
<link rel="stylesheet" href="./assets/css/style.css">
</head>
<body>
<header>
<a href="./highscores.html">View High Scores</a>
<p>Time: <span id="time">60</span></p>
</header>
<main>
<!-- first page -->
<section class="content" id="welcome-page">
<h1>
JavaScript Fundamentals Quiz
</h1>
<p>
Try to answer the following questions within the time limit.
For every answer you get right, you will earn 5 points. But,
for every answer you get wrong, you will lose 10 seconds of time.
Good luck!
</p>
<button class="btn" id="start-btn" role="button">Start Quiz</button>
</section>
<!-- quiz page -->
<section class = "quiz hide" id="quiz-container">
<div id="question">
Question
</div>
<div id="option-buttons" class="options">
<button class="btn" id="option1">option1</button>
<button class="btn" id="option2">option2</button>
<button class="btn" id="option3">option3</button>
<button class="btn" id="option4">option4</button>
</div>
</section>
</main>
<script src= ./assets/js/script.js></script> </script>
</body>
</html>