-
Notifications
You must be signed in to change notification settings - Fork 0
/
area.html
75 lines (70 loc) · 3.13 KB
/
area.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
<!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="stylesheet" type="text/css" href="https://jitendra1mp4.github.io/fun-css/style.css">
<link rel="stylesheet" type="text/css" href="https://jitendra1mp4.github.io/fun-css/utility.css">
<title>Fun with Triangle</title>
</head>
<body>
<nav class="">
<!-- <span class="brand clr-light">Fun Triangle</span> -->
<ul class="list-no-bullet">
<li class="list-item-inline nav-pills">
<a class="link link-text-dec-none" href="/">Is triangle</a>
</li>
<li class="list-item-inline nav-pills">
<a class="link link-text-dec-none" href="/quiz.html">Quiz</a>
</li>
<li class="list-item-inline nav-pills">
<a class="link link-text-dec-none" href="/hypotenuse.html">Hypotenuse</a>
</li>
<li class="list-item-inline nav-pills">
<a class="link link-text-dec-none link-active" href="/area.html">Area</a>
</li>
</ul>
</nav>
<header class="my-2">
<h1 class="hero-text">Fun <span class="hero-name">Triangle</span></h1>
</header>
<main class="container-center my-hf">
<!-- I have to work here start working on it -->
<h3 class="mx-hf">Enter Base and Height of Triangle to calculate area, Area = ½(base*height)</h3>
<div class="form-part m-1 p-1">
<label for="base" class="m-1 p-1">base </label>
<input class="m-hf p-hf round-hf border-thin" type="number" min="1" name="base" id="base">
</div>
<div class="form-part m-1 p-1">
<label for="height" class="m-1 p-1">height </label>
<input class="m-hf p-hf round-hf border-thin" type="number" min="1" name="height" id="height">
</div>
<div class="form-part m-1 p-1">
<button class="px-1 py-hf m-1 btn-primary" id="btn-get-area">Get Area</button>
</div>
<div class="output my-3 p-2 br-1" id="div-output"></div>
</main>
<footer class="container-fluid">
<div class="container-center">
<div class="brand clr-light">Jitendra Kumar Sahu</div>
<span class="my-1 clr-light d-block">
Social Links
</span>
<ul class="list-no-bullet list-social-links">
<li class="list-item-inline">
<a class="link-text-dec-none link-social" href="https://www.instagram.com/jit2endra/">Instagram</a>
</li> |
<li class="list-item-inline">
<a class="link-social link-text-dec-none"
href="https://www.linkedin.com/in/jitendra1mp4/">Linkedin</a>
</li> |
<li class="list-item-inline"> <a class="link-social link-text-dec-none"
href="https://github.com/jitendra1mp4">Github</a>
</li>
</ul>
</div>
</footer>
<script src="script-area.js"></script>
</body>
</html>