-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
37 lines (37 loc) · 1.41 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
<!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="style.css"> <!-- Include an external stylesheet -->
</head>
<body>
<div class="quiz-container" id="quiz">
<div class="quiz-header">
<h3 id="question">Question text here</h3> <!-- Placeholder for displaying quiz questions -->
<ul>
<!-- List items for displaying answer options -->
<li>
<input type="radio" id="a" name="answer" class="answer">
<label for="a" id="a_text">Option A</label> <!-- Label for option A -->
</li>
<li>
<input type="radio" id="b" name="answer" class="answer">
<label for="b" id="b_text">Option B</label> <!-- Label for option B -->
</li>
<li>
<input type="radio" id="c" name="answer" class="answer">
<label for="c" id="c_text">Option C</label> <!-- Label for option C -->
</li>
<li>
<input type="radio" id="d" name="answer" class="answer">
<label for="d" id="d_text">Option D</label> <!-- Label for option D -->
</li>
</ul>
</div>
<button id="submit" type="button" onclick="SubmitBtn()">Submit</button> <!-- Submit button for quiz -->
</div>
<script src="script.js"></script> <!-- Include an external JavaScript file -->
</body>
</html>