-
Notifications
You must be signed in to change notification settings - Fork 0
/
percentagecal.html
55 lines (53 loc) · 2.11 KB
/
percentagecal.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
<!DOCTYPE html>
<html>
<head>
<svg class="bi bi-chevron-right" width="32" height="32" viewBox="0 0 20 20" fill="currentColor" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" d="M6.646 3.646a.5.5 0 01.708 0l6 6a.5.5 0 010 .708l-6 6a.5.5 0 01-.708-.708L12.293 10 6.646 4.354a.5.5 0 010-.708z" clip-rule="evenodd"/></svg>
<img src="bootstrap.svg" alt="" width="32" height="32" title="Bootstrap">
<svg class="bi bi-alert-triangle text-success" width="32" height="32" viewBox="0 0 20 20" fill="currentColor" xmlns="http://www.w3.org/2000/svg">
...
</svg>
<title>PERCENTAGE CALCULATOR</title>
<link rel="stylesheet" href="calc.css">
</head>
<body>
<div class="Body">
<h1>PERCENTAGE CALCULATOR</h1>
<p>x IS WHAT % OF y</p>
<form id = "xIsWhatPercentageOfy">
<div class="centre">
<input type="text" id="numfield1">is what percentage of
<input type="text" id="numfield2">?<br><br>
<input type="submit" value="calculate">
</div>
</form>
<h3 id="resultfield1"></h3>
<script type="text/javascript" src="percentage.js"></script>
<!-- </div> -->
<hr><hr><hr>
<!-- <div class="Body"> -->
<h1>COMPLEX TO POLAR FORM</h1>
<p>Enter the real and imaginary part in the given fields</p>
<form id = "real_part">
<div class="centre">
<input type="text" id ="real">Real Part<br><br>
<input type = "text" id ="imaginary">Imaginary Part<br><br>
<input type="submit" value="calculate">
</div>
</form>
<h2 id="resultfield2"></h2>
<script type="text/javascript" src="complex.js"></script>
<hr><hr><hr>
<h1>POLAR FORM TO COMPLEX</h1>
<p>Enter modulus and angle in degree</p>
<form id = "real1_part">
<div class="centre">
<input type="text" id ="real1">Modulus<br><br>
<input type = "text" id ="imaginary1">angle in degree<br><br>
<input type="submit" value="calculate">
</div>
</form>
<h2 id="resultfield3"></h2>
<script type="text/javascript" src="complex1.js"></script>
</div>
</body>
</html>