-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathquiz.html
48 lines (48 loc) · 2.33 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
<!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">
<link rel="stylesheet" href="styles.css">
<title>isTriangle?</title>
</head>
<body>
<nav class="navbar">
<a href="/">isTriangle?</a>
<a href="/hypotenuse.html">Hypotenuse</a>
<a href="/quiz.html">Quiz</a>
<a href="/area.html">Area</a>
</nav>
<form class="quiz-form">
<div class="container">
<p>What will be the third angle of a triangle if angle1 is 45 deg , angle2 is 60 deg?</p>
<label><input type="radio" name="question1" value="45">45°</input></label>
<label><input type="radio" name="question1" value="60">60°</input></label>
<label><input type="radio" name="question1" value="90">90°</input></label>
</div>
<div class="container ">
<p>If a triangle has an angle of 90 deg what is it called?</p>
<label><input type="radio" name="question2" value="acute">acute</input></label>
<label><input type="radio" name="question2" value="obtuse">obtuse</input></label>
<label><input type="radio" name="question2" value="rightangle">right angle</input></label>
</div>
<div class="container ">
<p>What do you call a triangle whose sides are all equal?</p>
<label><input type="radio" name="question3" value="equilateral">equilateral</input></label>
<label><input type="radio" name="question3" value="isosceles">isosceles</input></label>
<label><input type="radio" name="question3" value="scalene">scalene</input></label>
</div>
<div class="container ">
<p>If one fo the angle of a triangle is 30deg and another angle is 70deg
What is the measure of the third angle></p>
<label><input type="radio" name="question4" value="60">60</input></label>
<label><input type="radio" name="question4" value="80">80</input></label>
<label><input type="radio" name="question4" value="100">100</input></label>
</div>
</form>
<button id="submitButton">Submit Form</button>
<h2 id = "score_output"></h2>
<script type="text/javascript" src="quiz.js"></script>
</body>
</html>