-
Notifications
You must be signed in to change notification settings - Fork 0
/
questions.html
68 lines (64 loc) · 2.46 KB
/
questions.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
67
68
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no" />
<title>Bentil - Online Quiz</title>
<link rel="stylesheet" href="css/style.css" />
</head>
<body>
<!-- content here -->
<div class="box" id="questionScreen">
<div class="title">
Bentilzone Online Quiz
</div>
<div class="header">
<div class="scoreBox">Score: <span>0</span></div>
<div class="timerBox">Time left: <span></span></div>
</div>
<div class="questionBox">
<!-- <span>Q</span> -->
</div>
<div class="optionBox">
<span onclick="checkAnswer(this)" data-opt="1"></span>
<span onclick="checkAnswer(this)" data-opt="2"></span>
<span onclick="checkAnswer(this)" data-opt="3"></span>
<span onclick="checkAnswer(this)" data-opt="4"></span>
</div>
<div class="footer">
<button onclick="showResult(1)">Show Results</button>
<div class="con">
<!-- <button onclick="showPrev(this)" class="disabled"><span>←</span>prev</button> -->
<button onclick="showNext()">Next →</button>
</div>
</div>
<div class="count">
Question <span>1</span> / 10
</div>
</div>
<div class="box hidden" id="resultScreen" >
<div class="title">
Bentilzone Online Quiz Result
</div>
<div class="scoreBoard">
Total Score : <span> 60</span>
</div>
<div class="resultBox">
<label>Questions : </label>
<span id="totalQuestion"></span>
<label>Attempt : </label>
<span id="attemptQuestion"></span>
<label>Correct : </label>
<span id="correctQuestion"></span>
<label>Wrong : </label>
<span id="wrongAnswers"></span>
</div>
<div class="buttonBox">
<a href="index.html">Start Again</a>
</div>
</div>
</body>
<script src="js/jquery-3.5.1.min.js"></script>
<script src="js/quiz.js"></script>
<script src="js/script.js"></script>
</html>