-
Notifications
You must be signed in to change notification settings - Fork 0
/
quiz.html
116 lines (110 loc) · 3.06 KB
/
quiz.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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Quiz App</title>
<link rel="stylesheet" href="index.css" />
<!-- <link rel="stylesheet" href="quiz.css"> -->
<script src="
https://cdn.jsdelivr.net/npm/[email protected]/dist/sweetalert2.all.min.js
"></script>
<link
href="
https://cdn.jsdelivr.net/npm/[email protected]/dist/sweetalert2.min.css
"
rel="stylesheet"
/>
</head>
<body>
<!-- <div></div> -->
<div class="main-div">
<div class="header">
<div class="min-width">
<div class="quiz-logo">
<h1>Quiz <span class="span">App</span></h1>
</div>
<a href="index.html" class="header-link">Logout</a>
</div>
</div>
<!-- <div class=""></div> -->
<div class="main-2">
<div class="inner-div">
<div class="quiz">
<h1>Quiz <span class="span">App</span></h1>
</div>
<div class="time-result">
<div id="topresult"></div>
<div id="time-div"></div>
</div>
<span class="line"></span>
<div class="q-o">
<h2 id="questions"></h2>
<ul>
<li>
<input
type="radio"
name="roptions"
onclick="enableBtn()"
value="1"
id="op1"
class="answer"
/>
<label for="op1" id="option1"></label>
</li>
</ul>
<ul>
<li>
<input
type="radio"
name="roptions"
onclick="enableBtn()"
value="2"
id="op2"
class="answer"
/>
<label for="op2" id="option2"></label>
</li>
</ul>
<ul>
<li>
<input
type="radio"
name="roptions"
onclick="enableBtn()"
value="3"
id="op3"
class="answer"
/>
<label for="op3" id="option3"></label>
</li>
</ul>
<ul>
<li>
<input
type="radio"
name="roptions"
onclick="enableBtn()"
value="4"
id="op4"
class="answer"
/>
<label for="op4" id="option4"></label>
</li>
</ul>
</div>
<div class="button">
<button onclick="nextQue()" id="btn" disabled>Next</button>
</div>
</div>
</div>
</div>
<div class="round c1"></div>
<div class="round c2"></div>
<script src="app.js"></script>
<script
src="https://kit.fontawesome.com/d368ad9ef6.js"
crossorigin="anonymous"
></script>
</body>
</html>