-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path4sample.html
More file actions
95 lines (89 loc) · 2.95 KB
/
4sample.html
File metadata and controls
95 lines (89 loc) · 2.95 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Trigonometry Test</title>
<style>
body {
font-family: Arial, sans-serif;
background-color: #f0f0f0;
margin: 0;
padding: 20px;
}
.container {
background-color: #fff;
padding: 20px;
border-radius: 8px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
max-width: 600px;
margin: 0 auto;
}
h1 {
text-align: center;
color: #333;
}
.question {
margin-bottom: 20px;
}
.question h3 {
margin: 0;
}
.options {
margin-top: 10px;
}
.options label {
display: block;
margin-bottom: 5px;
}
.submit-btn {
display: block;
width: 100%;
padding: 10px;
background-color: #4CAF50;
color: white;
border: none;
border-radius: 5px;
cursor: pointer;
font-size: 16px;
}
.submit-btn:hover {
background-color: #45a049;
}
</style>
</head>
<body>
<div class="container">
<h1>Trigonometry Test</h1>
<form action="#" method="post" id="trigTestForm">
<div class="question">
<h3>1. What is the sin of 30°?</h3>
<div class="options">
<label><input type="radio" name="q1" value="0.5"> 0.5</label>
<label><input type="radio" name="q1" value="0.866"> 0.866</label>
<label><input type="radio" name="q1" value="1"> 1</label>
<label><input type="radio" name="q1" value="0"> 0</label>
</div>
</div>
<div class="question">
<h3>2. What is the cosine of 60°?</h3>
<div class="options">
<label><input type="radio" name="q2" value="0.5"> 0.5</label>
<label><input type="radio" name="q2" value="0.866"> 0.866</label>
<label><input type="radio" name="q2" value="1"> 1</label>
<label><input type="radio" name="q2" value="0"> 0</label>
</div>
</div>
<div class="question">
<h3>3. What is the tangent of 45°?</h3>
<div class="options">
<label><input type="radio" name="q3" value="0.5"> 0.5</label>
<label><input type="radio" name="q3" value="1"> 1</label>
<label><input type="radio" name="q3" value="0.707"> 0.707</label>
<label><input type="radio" name="q3" value="1.732"> 1.732</label>
</div>
</div>
<button type="submit" class="submit-btn">Submit</button>
</form>
</div>
</body>