-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathquiz.html
53 lines (41 loc) · 2.15 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
<!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="icon" type="image/png" href="favicon/android-chrome-512x512.png">
<title>Triangle Quiz</title>
<link rel="stylesheet" href="css/style.css">
</head>
<body>
<nav class="navigation">
<ul class="navigation nav-list">
<li class="link-inline link-active"><a href="index.html">Is Triangle?</a></li>
<li class="link-inline"><a href="areaOfTriangle.html">Area</a></li>
<li class="link-inline"><a href="checkHypotenuse.html">Hypotenuse</a></li>
<li class="link-inline"><a href="quiz.html">Quiz</a></li>
</ul>
</nav>
<div class="container">
<h1>Triangle Quiz</h1>
<form action="" class="quiz-form">
<div class="quiz-container">
<p>What is the third angle for the triangle if angle1 = 45° and angle2 = 45°?</p>
<label class="quiz-label" for="q1-option1"><input value="45°" name="question1" type="radio">45°</label>
<label class="quiz-label" for="q1-option2"><input value="60°" name="question1" type="radio">60°</label>
<label class="quiz-label" for="q1-option3"><input value="90°" name="question1" type="radio">90°</label>
</div>
<div class="quiz-container">
<p>If a triangle has an angle greater than 90°, then what is it called?</p>
<label class="quiz-label" for="q2-option1"><input value="obtuse" name="question2" type="radio">obtuse</label>
<label class="quiz-label" for="q2-option2"><input value="acute" name="question2" type="radio">acute</label>
<label class="quiz-label" for="q2-option3"><input value="right-angled" name="question2" type="radio">right-angled</label>
</div>
</form>
<button id="btn-submit">Submit</button>
<p class="message" id="output-score"></p>
</div>
<script src="/script/quiz.js" type="text/javascript"></script>
</body>
</html>