-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
64 lines (43 loc) · 1.8 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Hello</title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="style.css">
</head>
<body>
<header>
<span class="titlehead">Chingu Trivia</span>
<nav>
<ul>
<li>Questions</li>
<li>Home</li>
</ul>
</nav>
</header>
<div class="container">
<div class="content">
<div>
<p class="numofquestion">Question <span id="current"> 1</span> / <span id="allquestions">10</span></p>
</div>
<div>
<h3 id = "question">What is the capital of Abuja?</h3>
<div class="optionsi">
<div class="options" data-option = "a"><span>Lagos</span></div>
<div class="options" data-option = "b">Rivers</div> <br>
<div class="options" data-option ="c">Abuja</div>
<div class="options" data-option ="d">Ghana</div>
</div>
<h3> You have scored <span id = "score">0</span> out of <span id="currentr"> 0</span> </h3>
<button id="nextB" onclick="getNewQuestion();">Next</button>
<p id = "scorecomment2">Opps, You failed this one</p>
<p id = "scorecomment1">Well Done, Correct!</p>
</div>
</div>
</div>
<script src="App.js"></script>
</body>
</html>