-
Notifications
You must be signed in to change notification settings - Fork 10
/
quiz.html
59 lines (58 loc) · 2.38 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Document</title>
<link rel="stylesheet" href="quiz.css" />
</head>
<body>
<div class="quiz-container" id="quiz">
<div class="ctn">
<h3 >Question:<span id="question-number">1</span> </h3>
</div>
<div class="questions" id="questions">
Grand Central Terminal, Park Avenue, New York is the
world's
</div>
<br /><br />
<div id="opt">
<form method="POST">
<div class="answer">
<form action="quiz" method="post">
<div class="option">
<input type="radio" name="option" class="ans" id="A" />
<label for="optionA" id="option1">Largest railway station</label>
</div>
<div class="option">
<input type="radio" name="option" class="ans" id="B" />
<label for="optionB" id="option2">Highest railway station</label>
</div>
<div class="option">
<input type="radio" name="option" class="ans" id="C" />
<label for="optionC" id="option3">Longest railway station</label>
</div>
<div class="option">
<input type="radio" name="option" class="ans" id="D" />
<label for="optionD" id="option4">None of the above</label>
</div>
</div>
<div class="box">
<div class="timer">
<h4 id="clock">10:00 minutes left</h4>
</div>
<hr
id="line"
/>
<div class="btn1">
<button class="btn" type="button" id="prev">Previous</button>
<button class="btn" type="button" id="next">Next</button>
</div>
</div>
</form>
</div>
</div>
<script src="quiz.js"></script>
</body>
</html>