-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.htm
37 lines (37 loc) · 1.19 KB
/
index.htm
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>Add title</title>
<script src="check_answers.js"></script>
<style>
.correct {
border-radius: 25px;
border: 2px solid green;
}
.wrong {
border-radius: 25px;
border: 2px solid red;
}
</style>
</head>
<body>
<!--Add your questions... You can add select ones and input ones also. Give ID tho all input elements-->
<!--In this one there are only 3 questions-->
<p>question 1:</p>
<input type="text" id="q1" placeholder="Enter answer here...">
<p>question 2:</p>
<input type="text" id="q2" placeholder="Enter answer here...">
<p>capital of USA</p>
<select id="q3">
<option select value="miami">Miami</option>
<option value="washington_dc">Washington DC</option>
<option value="newyork">new york</option>
</select>
<div id="wrong"></div>
<div id="points"></div>
<div id="notes"></div>
<button onclick="SubmitViewResults()">Submit and View Results</button>
</body>
</html>