-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
55 lines (49 loc) · 1.62 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<meta http-equiv="X-UA-Compatible" content="ie=edge"/>
<title>Web Quiz</title>
<link rel="stylesheet" href="./assets/css/style.css"/>
</head>
<body>
<div class="wrapper">
<!-- Hide header after "start quiz btn is clicked" -->
<header>
<h1> Web Quiz </h1>
<button id="start" class="h1Btn"> Start Quiz </button>
</header>
<!-- Show main after "start quiz btn is clicked" -->
<main>
<div class="card">
<div class="card-top">
<h2 id="highscore">Highscore: </h2>
<h2 id="timer">Timer: </h2>
<h2 id="timer-count">00</h2>
</div>
<div class="card-header">
<h2 id="questions">Questions </h2>
</div>
<div class="card-body">
<!-- Buttons for answers -->
<button id="choicesArray" class="btn"></button>
</div>
<!-- Show footer after "answer btn is clicked" -->
<div class="card-footer">
<!-- Alert for Correct or Incorrect answers -->
<h3 class="compResp">Correct/Incorrect</h3>
<!-- Text area for scores on answers -->
<!-- <textarea
readonly
id="scores"
placeholder="Your current score: "
></textarea> -->
</div>
</div>
</main>
</div>
<script src="./assets/js/script.js"></script>
<script src="./assets/js/questions.js"></script>
</body>
</html>