-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
39 lines (35 loc) · 1.4 KB
/
Copy pathindex.html
File metadata and controls
39 lines (35 loc) · 1.4 KB
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
<!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="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@100;400;700;900&display=swap" rel="stylesheet">
<link rel="stylesheet" href="index.css">
<title>Unit Converter</title>
</head>
<body>
<div id="hero">
<h1 id="hero--main-title">Metric/Imperial Unit Conversion</h1>
<input type="number" id="hero--value-field" value="0">
<button id="convert-btn">Convert</button>
<div id="units-wrapper">
<div id="length-wrapper">
<h3>Length (Meter/Feet)</h3>
<p id="length-par">0 meters = 0.000 feet | 0 feet = 0.000 meters</p>
</div>
<div id="volume-wrapper">
<h3>Volume (Liters/Gallon)</h3>
<p id="volume-par">0 liters = 0.000 gallons | 0 gallons = 0.000 liters</p>
</div>
<div id="mass-wrapper">
<h3>Mass (Kilograms/Pounds)</h3>
<p id="mass-par">0 kilos = 0.000 pounds | 0 pounds = 0.000 kilos</p>
</div>
</div>
</div>
<script src="index.js"></script>
</body>
</html>