-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
66 lines (50 loc) · 1.73 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
<!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">
<link rel="stylesheet" href="style.css">
<title>Random Quiz</title>
</head>
<!-- <body class="container">
<h2 class="dayoo"></h2>
<button class="btn">Click Me</button>
<button class="dark">Switch to DarkMode</button> -->
<header class="head">
<h2 id="date-time"></h2>
<br><br>
<h1>Dayo's Quiz App</h1>
<!-- <button id="dark-mode-toggle" class="dark-icon">Dark Mode</button> -->
</header>
<div id="quiz-container">
<div class="questions">
<h2 id="question"> Q. who is the president of Nigeria?</h2>
<ol type="A">
<li class="option"><span class="option0">Elon Musk</span></li>
<li class="option"><span class="option1">Obasanjo</span></li>
<li class="option"><span class="option2">Thomas Muller</span></li>
<li class="option"><span class="option3">Asiwaju Bola Ahmed</span></li>
</ol>
<h4 id="stat">question 1 of 10</h4>
</div>
<div class="buttons">
<button type="button" id="previous">Previous</button>
<button type="button" class="next">Next</button>
</div>
</div>
<div id="score-board">
<h2>Your Score</h2>
<h2 id="score">0/3</h2>
<button type="button" id="score-btn" onclick="backtoQuiz()">Back to Quiz</button>
<button type="button" id="check-answer">Check Answer</button>
<button type="button" id="reload-btn" onclick="reloadQuiz()">Reload Quiz</button>
<div class="answerboard">
<h2>Answers</h2>
<ol id="answers">
</ol>
</div>
</div>
<script src="index.js"></script>
</body>
</html>