-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtrainglequiz.html
125 lines (115 loc) · 6.36 KB
/
trainglequiz.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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
<!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>Triangular Quiz</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<header>
<div class="logo">Triangle Shriangle</div>
<ul class="pages">
<li><a href="/areaTriangle.html">Area of Triangle</a></li>
<li><a href="/hypo.html">Find Hypotenuse</a></li>
<li><a href="/trainglequiz.html">Triangle Quiz</a></li>
<li><a href="/index.html">Triangle or Not</a></li>
</ul>
</header>
<div class="container">
<h1>
Quiz on Triangles
</h1>
<form class="quiz">
<div class="questContainer">
<p>1. This type of triangle has one 90 degree angle.</p>
<label><input type="radio" name="question1" value="acute">Acute</label>
<label><input type="radio" name="question1" value="Obtuse">Obtuse</label>
<label><input type="radio" name="question1" value="RightAngled">Right-Angled</label>
</div>
<div class="questContainer">
<p>2. A ________ triangle is one where all 3 angles measure less than 90 degrees.</p>
<label><input type="radio" name="question2" value="Acute">Acute</label>
<label><input type="radio" name="question2" value="RightAngled">Right-Angled</label>
<label><input type="radio" name="question2" value="Obtuse">Obtuse</label>
</div>
<div class="questContainer">
<p>3. All 3 interior angles of a triangle add up to</p>
<label><input type="radio" name="question3" value="90 degrees">90 degrees</label>
<label><input type="radio" name="question3" value="180 degrees">180 degrees</label>
<label><input type="radio" name="question3" value="360 degrees">360 degrees</label>
</div>
<div class="questContainer">
<p>4. An isosceles triangle has</p>
<label><input type="radio" name="question4" value="No congruent sides">No congruent sides</label>
<label><input type="radio" name="question4" value="2 congruent sides">2 congruent sides</label>
<label><input type="radio" name="question4" value="3 congruent sides">3 congruent sides</label>
</div>
<div class="questContainer">
<p>5. The perimeter of scalene triangle with sides a, b, c is</p>
<label><input type="radio" name="question5" value="a + b + c">a + b + c</label>
<label><input type="radio" name="question5" value="2a">2a</label>
<label><input type="radio" name="question5" value="None of these">None of these</label>
</div>
<div class="questContainer">
<p>6. Which of the following triangles are always similar?</p>
<label><input type="radio" name="question6" value="Equilateral triangle">Equilateral triangle</label>
<label><input type="radio" name="question6" value="Isosceles triangle">Isosceles triangle</label>
<label><input type="radio" name="question6" value="scalene">Scalene</label>
</div>
<div class="questContainer">
<p>7. If one angle of a triangle is 50° and second angle is 30°,then what type of triangle it is? </p>
<label><input type="radio" name="question7" value="acute">Acute</label>
<label><input type="radio" name="question7" value="Obtuse">Obtuse</label>
<label><input type="radio" name="question7" value="RightAngled">Right-Angled</label>
</div>
<div class="questContainer">
<p>8. Which of the following measures of sides can make a valid triangle?</p>
<label><input type="radio" name="question8" value="55,44,33">55,44,33</label>
<label><input type="radio" name="question8" value="12,17,39">12,17,39</label>
<label><input type="radio" name="question8" value="5,7,10">5,7,10</label>
</div>
<div class="questContainer">
<p>9. There is a right triangle PQR where: angle Q = 90°; angle P = angle R. What is the measure of angles P and R?</p>
<label><input type="radio" name="question9" value="67 degrees">67 degrees</label>
<label><input type="radio" name="question9" value="90 degrees">90 degrees</label>
<label><input type="radio" name="question9" value="45 degrees">45 degrees</label>
</div>
<div class="questContainer">
<p>10. If a triangle is obtuse, which of the following set of angles is invalid for the triangle?</p>
<label><input type="radio" name="question10" value="100°,56°,44°">100°,56°,24°</label>
<label><input type="radio" name="question10" value="47°, 96°, 37°">47°, 96°, 37°</label>
<label><input type="radio" name="question10" value="98°, 42°, 90°">98°, 42°, 90°</label>
</div>
</form>
<button type="submit" id="submit">Submit Answers</button>
<button class="reset" style="background:none; border-color:#d3a20e;">Reset quiz</button>
<div class="result"></div>
<div class="correctanswer">
<h3 >
<u>Correct Answers</u>
</h3><br>
Question 1 = Right Angled, <br>
Question 2 = Acute,<br>
Question 3 = 180 degrees,<br>
Question 4 = 2 congruent sides,<br>
Question 5 = a + b + c,<br>
Question 6 = Equilateral triangle,<br>
Question 7 = Obtuse,<br>
Question 8 = 5,7,10,<br>
Question 9 = 45 degrees,<br>
Question 10 =98°, 42°, 90°<br><br>
</div>
</div>
</div>
<footer>Let's Connect
<ul>
<li class="social"><a href="https://github.com/Anush79">Github</a></li>
<li class="social"><a href="https://ajaisportfolio.netlify.app">Website</a></li>
<li class="social"><a href="https://twitter.com/TheIndianGirl56">Twitter</a></li>
</ul>
</footer>
</body>
<script src="allscripts/quiz.js"></script>
</html>