-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathTemperature.html
More file actions
40 lines (34 loc) · 1.12 KB
/
Copy pathTemperature.html
File metadata and controls
40 lines (34 loc) · 1.12 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
<!DOCTYPE html>
<html>
<head>
<title>Temperature Converter App</title>
<meta charset="UTF-8" />
<link rel="stylesheet" href="style.css" />
</head>
<body>
<div class="container">
<div class="temperature-converter">
<h1 class="title">Temperature Converter</h1>
<div class="result">
<span class="result-heading">Result (Celsius)</span>
<h2 class="celsius-value" id="celsius"></h2>
</div>
<div class="degree-type">
<div class="degree-field">
<label for="degree">Degrees</label>
<input type="number" name="degree" id="degree" />
</div>
<div class="temp-field">
<label for="temp-type">Type</label>
<select name="temperatures" id="temp-type" autocomplete="on">
<option id="fahrenheit" value="fahrenheit">Fahrenheit</option>
<option id="kelvin" value="kelvin">Kelvin</option>
</select>
</div>
</div>
<button id="convert-btn">Convert</button>
</div>
</div>
<script src="script.js"></script>
</body>
</html>