-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
39 lines (39 loc) · 1.62 KB
/
index.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
<!DOCTYPE html>
<html>
<head>
<title>Lengths Converter</title>
<link rel="stylesheet" href="style.css" />
</head>
<body>
<h2 style="letter-spacing: 7px; line-height: 40px">Lengths Converter</h2>
<div class="converter">
<form class="container">
<label for="meters">Meters:</label>
<input type="number" id="meters" oninput="convertLength('meters')" />
</form>
<form class="container"><label for="centimeters">Centimeters:</label>
<input type="number" id="centimeters" oninput="convertLength('centimeters')" />
</form>
<form class="container"><label for="inches">Inches:</label>
<input type="number" id="inches" oninput="convertLength('inches')" />
</form>
<form class="container"><label for="feet">Feet:</label>
<input type="number" id="feet" oninput="convertLength('feet')" />
</form>
<form class="container"><label for="yards">Yards:</label>
<input type="number" id="yards" oninput="convertLength('yards')" />
</form>
<form class="container"><label for="miles">Miles:</label>
<input type="number" id="miles" oninput="convertLength('miles')" />
</form>
<form class="container"><label for="kilometers">Kilometers:</label>
<input type="number" id="kilometers" oninput="convertLength('kilometers')" />
</form>
<form class="container"><label for="millimeters">Millimeters:</label>
<input type="number" id="millimeters" oninput="convertLength('millimeters')" />
</form>
</div>
</div>
<script src="./script.js"></script>
</body>
</html>