-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
54 lines (48 loc) · 1.78 KB
/
Copy pathindex.html
File metadata and controls
54 lines (48 loc) · 1.78 KB
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" />
<title>Quiz game</title>
<link
href="https://fonts.googleapis.com/css?family=Poppins:100,100italic,200,200italic,300,300italic,regular,italic,500,500italic,600,600italic,700,700italic,800,800italic,900,900italic"
rel="stylesheet"
/>
<link rel="stylesheet" href="style.css">
</head>
<body>
<div class="container">
<div class="screen active" id="start-screen">
<h1>Quiz Time</h1>
<p>Test your knowledge with this question</p>
<button id="start-btn">Start Quiz</button>
</div>
<div class="screen" id="quiz-screen">
<div class="quiz-header">
<h2 id="question-text">Question goes here</h2>
<div class="quiz-info">
<p>
Question <span id="current-question">1</span> of <span id="total-questions">5</span>
</p>
<p> Score <span id="score">0</span></p>
</div>
</div>
<div id="answers-container" class="answers-container">
<!-- ANSWER SHOULD BE INSERTED HERE FROM OUR JS CODE -->
</div>
<div class="progress-bar">
<div id="progress" class="progress"></div>
</div>
</div>
<div id="result-screen" class="screen">
<h1>Quiz Results</h1>
<div class="result-info">
<p>You scored <span id="final-score">0</span> out of <span id="max-score">5</span></p>
<div id="result-message">Good job</div>
</div>
<button id="restart-btn">Restart Quiz</button>
</div>
</div>
<script src="app.js"></script>
</body>
</html>