-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtask9.html
60 lines (58 loc) · 2.69 KB
/
task9.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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>TempConverter</title>
<link href="https://cdn.jsdelivr.net/npm/[email protected]/fonts/remixicon.css" rel="stylesheet">
<link rel="stylesheet" href="task9.css">
</head>
<body>
<div id="main">
<div id="conv">
<div id="nav">
<div id="part1"><time id='time'></time></div>
<div id="part2">
<img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAYAAAAeP4ixAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAf0lEQVR4nO2TwQ2AMBDDbv/F8vRIZQNUHpUC2FL/vTiZEdmCZO28aQcPKQONlIFGykAjZaCRsoRpNeIh0cgZrFas1hmsVqzWz6rF4Y/hIQ/RSKzWcux3uJG4keVGXrkRyj6Gh6QrYTSSroTRSLoSRiPpShiNpCthNJKPGJHp4ALJ2XzyscTRjQAAAABJRU5ErkJggg==">
<i class="ri-wifi-fill"></i>
<i class="ri-battery-fill"></i>
</div>
</div>
<div id="heading">
<h1>Temperature converter</h1>
</div>
<div id="contents">
<div id="elem1">
<div id="enter">
<label id="label1" for="temp">Degrees</label>
<input type="number" id="temp" name="temp">
</div>
<div id="ent-type">
<label id="label2">Type</label>
<select id="temptypes1" name="temptypes1" class="">
<option id="fah" value="fah"><span>°</span>Fahrenheit</option>
<option id="cel" value="cel"><span>°</span>Celsius</option>
<option id="kel" value="kel"><span>°</span>Kelvin</option>
</select>
</div>
</div>
<div id="elem2">
<div id="calc">
<span id="resultCon"></span>
</div>
<div id="res-type">
<label id="label3">Type</label>
<select id="temptypes2" name="temptypes2" class="">
<option id="fah" value="fah"><span>°</span>Fahrenheit</option>
<option id="cel" value="cel"><span>°</span>Celsius</option>
<option id="kel" value="kel"><span>°</span>Kelvin</option>
</select>
</div>
</div>
<button type="submit" id="btn">Submit</button>
</div>
</div>
</div>
<script src="task9.js"></script>
</body>
</html>