-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathunitconvertor.html
81 lines (66 loc) · 3.19 KB
/
unitconvertor.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
76
77
78
79
80
81
<!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>UNIT CONVERTOR</title>
</head>
<body>
<h1>UNIT CONVERTOR</h1>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css">
<link rel="stylesheet" href="style.css">
<!-- script logic -->
<script src="index.js"></script>
<!-- Insert above inside head tag-->
<div class="container-fluid">
<div class="container">
<div class="row">
<div class="col-md-6">
<div class="row pt-4 converter-wrapper">
<div class="col-md-12 pb-3">
<form name="property_form">
<span>
<select class="select-property form-control" name="the_menu" size=1
onChange="UpdateUnitMenu(this, document.form_A.unit_menu); UpdateUnitMenu(this, document.form_B.unit_menu)">
</select>
</span>
</form>
</div>
<div class="col-md-12">
<div class="converter-side-a">
<form name="form_A" onSubmit="return false">
<input type="text" class="numbersonly form-control" name="unit_input" maxlength="20"
value="0" onKeyUp="CalculateUnit(document.form_A, document.form_B)">
<span>
<select name="unit_menu"
onChange="CalculateUnit(document.form_B, document.form_A)"
class="form-control">
</select>
</span>
</form>
</div> <!-- /converter-side-a -->
<div class="converter-equals">
<p>=</p>
</div> <!-- /converter-side-a -->
<div class="converter-side-b">
<form name="form_B" onSubmit="return false">
<input type="text" class="numbersonly form-control" name="unit_input" maxlength="20"
value="0" onkeyup="CalculateUnit(document.form_B, document.form_A)">
<span>
<select name="unit_menu"
onChange="CalculateUnit(document.form_A, document.form_B)"
class="form-control">
</select>
</span>
</form>
</div> <!-- /converter-side-b -->
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>