-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
34 lines (31 loc) · 989 Bytes
/
Copy pathindex.html
File metadata and controls
34 lines (31 loc) · 989 Bytes
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
<!DOCTYPE html>
<html>
<head>
<meta charset='utf-8'>
<title>Unit Converter</title>
<meta name='viewport' content='width=device-width, initial-scale=1'>
<link rel='stylesheet' type='text/css' media='screen' href='main.css'>
<script type="module" src='index.js' async></script>
</head>
<body>
<div id="hero">
<h3>Metric/Imperial Unit Conversion</h3>
<input type="text" id="num-input">
<button id="convert-btn">Convert</button>
</div>
<div id="bottom-hero">
<div id="length-ctn" class="metrics-ctn">
<h4>Length (Meter/Feet)</h4>
<p id="length-nums"></p>
</div>
<div id="volume-ctn" class="metrics-ctn">
<h4>Volume (Liters/Gallons)</h4>
<p id="volume-nums"></p>
</div>
<div id="mass-ctn" class="metrics-ctn">
<h4>Mass (Kilograms/Pounds)</h4>
<p id="mass-nums"></p>
</div>
</div>
</body>
</html>