-
Notifications
You must be signed in to change notification settings - Fork 0
/
quiz.html
64 lines (57 loc) · 2.74 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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
<!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="./style.css ">
<title>Tringle Quiz</title>
</head>
<body>
<nav class="navigation">
<a href="./index.html">Is Triangle</a>
<a href="./quiz.html">Triangle Quiz</a>
<a href="./hypotenuse.html">Calculate Hypotenuse</a>
<a href="./area.html">Area of Triangle</a>
</nav>
<h1>Triangle Quiz</h1>
<form class="quiz-form">
<div class="question-container">
<p>
What is the third angle for the triangle where angle1 = 45° and angle2
= 45°?
</p>
<label><input type="radio" name="question1" value="45°" />45°</label>
<label><input type="radio" name="question1" value="60°" />60°</label>
<label><input type="radio" name="question1" value="90°" />90°</label>
</div>
<div class="question-container">
<p>If a triangle has an angle of 90 degrees, what it is called?</p>
<label><input type="radio" name="question2" value="acute" />acute</label>
<label><input type="radio" name="question2" value="obtuse" />obtuse</label>
<label><input type="radio" name="question2" value="right angled" />right angled</label>
</div>
<div class="question-container">
<p>A triangle can have..</p>
<label><input type="radio" name="question3" value="One right angle" />One right angle</label>
<label><input type="radio" name="question3" value="Two right angle" />Two right angle</label>
<label><input type="radio" name="question3" value="no right angle" />no right angle</label>
</div>
<div class="question-container">
<p>If the base of right angled triangle is 3 and height is 4. What will be the hypotenuse?</p>
<label><input type="radio" name="question4" value="6" />6</label>
<label><input type="radio" name="question4" value="4" />4</label>
<label><input type="radio" name="question4" value="5" />5</label>
</div>
<div class="question-container">
<p>The sum of angles of a triangle is.</p>
<label><input type="radio" name="question5" value="360°" />360°</label>
<label><input type="radio" name="question5" value="270°" />270°</label>
<label><input type="radio" name="question5" value="180°" />180°</label>
</div>
</form>
<button id="submit-answer-btn">Submit Answers</button>
<div id="output"></div>
<script src="./quiz.js"></script>
</body>
</html>