-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhypo.html
54 lines (49 loc) · 1.67 KB
/
hypo.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
<!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>Find Hypotenuse</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>Calculate Hypotenuse of a triangle</h1>
<form id="myForm">
<label for="base">Enter base value </label>
<input type="number" class="base">
<br>
<label for="height">Enter height value </label>
<input type="number" class="height">
</form>
<br>
<button id="hypo">Calculate Hypotenuse</button>
<button class="resetbtn">Reset values</button>
<p>
<h2>Hypotenuse formula</h2>
<h3>
√(base² + height²)
</h3>
</p>
<div class="result"></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/hypo.js"></script>
</html>