-
Notifications
You must be signed in to change notification settings - Fork 0
/
triangle.html
36 lines (33 loc) · 838 Bytes
/
triangle.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
<!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>Triangle</title>
</head>
<body>
<header>
<nav>
<ul>
<li><a href="/circle">Circle Calculator</a></li>
<li><a href="/triangle">Triangle Calculator</a></li>
</ul>
</nav>
</header>
<h1>This a Triangle Calculator</h1>
<main>
<form action="/triangle" method="POST">
<div>
<label for="base">Base</label>
<input type="number" id="base" name="base">
</div>
<div>
<label for="height">Height</label>
<input type="number" id="height" name="height">
</div>
<button type="submit">Calculate</button>
</form>
</main>
</body>
</html>