-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtemperature.html
70 lines (70 loc) · 4.1 KB
/
temperature.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
61
62
63
64
65
66
67
68
69
70
<!DOCTYPE html>
<html lang="en">
<meta charset="UTF-8" name="viewport" content="width=device-width, initial-scale=1">
<!--w3 Fonts -->
<link rel="stylesheet" href="https://www.w3schools.com/w3css/4/w3.css">
<!--Font Awesome Update-->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.3.0/css/all.min.css">
<!--Main CSS Document-->
<link rel="stylesheet" href="styles/main.css">
<head>
<title>Temperature</title>
</head>
<body>
<nav>
<i class="logo fa-solid fa-cloud-bolt"></i>
<i class="menu fa fa-bars"></i>
</nav>
<div class="grid">
<header>
<div id="hint_units_out" class="hint" data-state="active">Click here to select <b>output</b> temp</div>
<button id="units_out" type="button" data-index="1" data-state="enabled">Celsius</button>
</header>
<main>
<section class="__thermometer">
<div id="thermo_main" class="thermo">
<div class="thermo__bulb"></div>
<div id="thermo_mercury" class="thermo__mercury">
<div id="current" class="mercury__tooltip" data-current=""><span>100.0</span><span>°F</span></div>
</div>
<div id="temp_events" class="thermo__info__container">
<div class="thermo__info__item" data-state="disabled" data-temp="">Water Boils</div>
<div class="thermo__info__item" data-state="disabled" data-temp="">Highest Temp in US</div>
<div class="thermo__info__item" data-state="disabled" data-temp="">Surface of Venus</div>
<div class="thermo__info__item" data-state="disabled" data-temp="">Surface of Venus</div>
<div class="thermo__info__item" data-state="disabled" data-temp="">Surface of Venus</div>
<div class="thermo__info__item" data-state="disabled" data-temp="">Surface of Venus</div>
<div class="thermo__info__item" data-state="disabled" data-temp="">Absolute Zero</div>
</div>
<div id="temp_scale" class="thermo__temp__container">
<div class="thermo__temp__item"><span></span>°<span></span></div>
<div class="thermo__temp__item"><span></span>°<span></span></div>
</div>
</div>
</section>
<section class="__buttons">
<div id="error--input" class="error" data-state="hidden">This is an error message</div>
<div id="hint_units_in" class="hint" data-state="active">Click here to select <b>input</b> temp</div>
<div id="input_container" class="__row" data-state="enabled">
<input id="number_start" type="text" name="number_start" maxlength="5" size="3" placeholder="867.0" data-state="enabled">
<select id="units_in" name="units_in" data-state="enabled">
<option value="fahrenheit">°F</option>
<option value="celsius" style="display:none;">°C</option>
<option value="kelvin">°K</option>
</select>
</div>
<button id="btn_convert" type="button" data-state="enabled">Convert</button>
</section>
</main>
</div>
<footer>©Michael Naatjes</footer>
</body>
<script src="scripts/js/functions/functions_main.js" type="text/Javascript"></script>
<script src="scripts/js/functions/class_temp_converter.js" type="text/Javascript"></script>
<script src="scripts/js/functions/class_user.js" type="text/Javascript"></script>
<script src="scripts/js/functions/class_thermometer.js" type="text/Javascript"></script>
<script>
// instantiate class
const user = new User();
</script>
</html>