-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
75 lines (70 loc) · 2.48 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
74
75
<!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>Quiz Module</title>
<link rel="stylesheet" type="text/css" href="./styles.css" />
<style>
body {
background-image: url('BG.jpg'); /* Replace 'your-image-path.jpg' with the actual path to your image */
background-size: cover;
background-position: center;
margin: 0;
padding: 0;
font-family: Arial, Helvetica, sans-serif;
}
.quiz-heading, .answer-key, .question-card {
background-color: rgba(255, 255, 255, 0.8); /* Add a semi-transparent white background to improve readability */
padding: 20px;
margin: 20px;
border-radius: 10px;
}
form {
display: flex;
flex-direction: column;
}
.radio-container {
display: flex;
align-items: center;
margin-bottom: 10px;
}
input[type="radio"] {
margin-right: 10px;
}
/* Add more styles as needed */
</style>
</head>
<body>
<h1 class="quiz-heading">Quiz</h1>
<div class="app-body">
<h1 class="answer-key">Answer Key</h1>
<div class="question-card">
<h2 id='question'>Question</h2>
<form>
<div class="radio-container">
<input type="radio" id="op1" name="op" value="0">
<label for="op1">op1</label>
</div>
<div class="radio-container">
<input type="radio" id="op2" name="op" value="1">
<label for="op2">op2</label>
</div>
<div class="radio-container">
<input type="radio" id="op3" name="op" value="2">
<label for="op3">op3</label>
</div>
<div class="radio-container">
<input type="radio" id="op4" name="op" value="3">
<label for="op4">op4</label>
</div>
<div id="res" class="idle">Empty</div><br>
<input type="submit" name="submit" value='Submit' class="submit"/>
</form>
</div>
<button onclick="showEndingPage()">Show Ending Page</button>
</div>
<script src="./sandbox.js"></script>
</body>
</html>