-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
54 lines (46 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
<!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="./assets/css/reset.css" />
<link rel="stylesheet" href="Assets/css/style.css">
<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;700&display=swap" rel="stylesheet">
<title>Coding Quiz</title>
</head>
<body>
<div>
<!-- highscores.html-->
<a href="#" class="score">Highscores</a>
</div>
<div class="time">
<p>Time:<span id="timeLeft">0</span> </p>
</div>
<main>
<section id="start-menu" class="container">
<h1>Ready to take a quiz?</h1>
<p id="intro">You will have 75 seconds to complete the quiz. <br>For every question missed you will lose 10 seconds off the timer.</br> Finish within the time given to win!</p>
<!--class="start-button" onclick="start()"-->
<button class="start-button" onclick="start()">Start Quiz</button>
</section>
<!-- class="hide">-->
<div id="quiz-content" class="container">
<h2 id="question">placeholder</h2>
<button id="option">Options</button>
<button id="option">Options</button>
<button id="option">Options</button>
<button id="option">Options</button>
</div>
<div id="end-game" class="hide">
<h2 id="player-score">Your score is:</h2>
<input type="text" id="name" placeholder="Enter your initials">
<button onclick="setScore()">Save your score!</button>
</div>
</main>
<script src="Assets/script.js"></script>
</body>
</html>
<!--Header with two buttons? View Highscores, -->
<!--form for intials for highscores- goes to local storage (web API)-->
<!-- div hidden for questions-->