-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcheckHypotenuse.html
41 lines (32 loc) · 1.27 KB
/
checkHypotenuse.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
<!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>Check Hypotenuse</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>Check Hypotenuse</h1>
<h2>Length of Hypotenuse = sqrt(A²+B²)</h2>
<label for="a">A = </label>
<input id="value-of-a" type="number">
<label for="b">B = </label>
<input id="value-of-b" type="number">
<button id="btn-submit">Check Hypotenuse</button>
<p class="message" id="show-message"></p>
</div>
<script src="script/checkHypotenuse.js" type="text/javascript"></script>
</body>
</html>