-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
73 lines (73 loc) · 2.5 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
67
68
69
70
71
72
73
<!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 rel="stylesheet" href="style.css">
</head>
<body>
<div class="head">
<h1>Let's Play Quiz</h1>
</div>
<main id="quiz-container">
<div class="box" id="q1">
<h3 class="question" id="Q1"> 1. How many primary colors are there?</h3>
<!-- 3 -->
<ul class="ans">
<li>
<label><input type="radio" name="ans1" value="5"> Five</label>
</li>
<li>
<label><input type="radio" name="ans1" value="3"> Three</label>
</li>
<li>
<label><input type="radio" name="ans1" value="2"> Two</label>
</li>
<li>
<label><input type="radio" name="ans1" value="10"> Ten</label>
</li>
</ul>
</div>
<div class="box" id="q3">
<h3 class="question" id="Q2"> 2. How many sides are there in a triangle?</h3>
<!-- 3 -->
<ul>
<li>
<label><input type="radio" name="ans2" value="2"> Two</label>
</li>
<li>
<label><input type="radio" name="ans2" value="4"> Four</label>
</li>
<li>
<label><input type="radio" name="ans2" value="5"> Five</label>
</li>
<li>
<label><input type="radio" name="ans2" value="3"> Three</label>
</li>
</ul>
</div>
<div class="box" id="q2">
<h3 class="question" id="Q3"> 3. How many letters are there in English alphabet?</h3>
<!-- 26 -->
<ul>
<li>
<label><input type="radio" name="ans3" value="26"> 26</label>
</li>
<li>
<label><input type="radio" name="ans3" value="34"> 34</label>
</li>
<li>
<label><input type="radio" name="ans3" value="20"> 20</label>
</li>
<li>
<label><input type="radio" name="ans3" value="5"> 5</label>
</li>
</ul>
</div>
</main>
<footer class="submit">
<button type="submit">Submit</button>
</footer>
</body>
</html>