-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlook.html
More file actions
45 lines (40 loc) · 1.61 KB
/
look.html
File metadata and controls
45 lines (40 loc) · 1.61 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
40
41
42
43
44
45
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Multi-Unit Converter</title>
<link rel="stylesheet" href="look.css">
<script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
</head>
<body>
<div class="container">
<h1>Multi-Unit Converter</h1>
<div class="conversion-section">
<h3>Temperature Conversion</h3>
<input type="number" id="tempInput" placeholder="Enter temperature">
<br>
<button id="toCelsius">Convert to Celsius</button>
<button id="toFahrenheit">Convert to Fahrenheit</button>
</div>
<div class="conversion-section">
<h3>Weight Conversion</h3>
<input type="number" id="weightInput" placeholder="Enter weight">
<br>
<button id="toKg">Convert lbs to kg</button>
<button id="toLbs">Convert kg to lbs</button>
</div>
<div class="conversion-section">
<h3>Length Conversion</h3>
<input type="number" id="lengthInputInches" placeholder="Enter length in inches">
<br>
<button id="toCm">Convert inch to cm</button>
<button id="toFeet">Convert inch to feet</button>
<input type="number" id="lengthInputCm" placeholder="Enter length in cm">
<button id="toInchCm">Convert cm to inch</button>
</div>
<div id="result" class="result"></div>
</div>
<script src="look.js"></script>
</body>
</html>