-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
32 lines (29 loc) · 1.11 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Temperature Converter</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<div class="main">
<div class="container">
<h1>Temperature Converter</h1>
<div class="box">
<label for="celsius">Celsius:</label>
<input onchange="ComputeTemp(event)" type="text" name="Celsius" placeholder="Enter temperature" id="Celsius" class="celsius">
</div>
<div class="box">
<label for="Fahrenheit">Fahrenheit:</label>
<input onchange="ComputeTemp(event)" type="number" name="Fahrenheit" placeholder="Enter temperature" id="Fahrenheit">
</div>
<div class="box">
<label for="Kelvin">Kelvin:</label>
<input onchange="ComputeTemp(event)" type="text" name="Kelvin" placeholder="Enter temperature" id="Kelvin">
</div>
</div>
</div>
<script src="app.js"></script>
</body>
</html>