-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
38 lines (35 loc) · 1.2 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
33
34
35
36
37
38
<!DOCTYPE html>
<html>
<p class="p1">
<div id = "main" class="p1">
<head>
<title>THERMOSTAT</title>
<link href='thermostat.css' rel='stylesheet'>
</head>
<body>
<section>
<div class="simple">
<h1>Current weather in <br>
<span id="display-current-city"></span>: <span id="current-weather"></span> °C</h1>
<form id="select-city">
<input id="current-city" type="text" placeholder="Enter a UK city"></input>
<input type="submit" class="button" value="Submit">
</form>
</div>
<div class="fancy">
<h1>Thermostat set to: <br>
<span id="temperature"></span></h1>
<button class="button7" id="temperature-down">-</button>
<button class="button4" id="temperature-reset">Reset</button>
<button class="button6" id="temperature-up">+</button>
<br>
<br>
<h1>Power saving mode: <span id="power-saving-status">ON</span></h2>
<button class="button3" id="power-saving-off">PSM off</button>
<button class="button" id="power-saving-on">PSM on</button>
</div>
</section>
<script src="src/thermostat.js"></script>
<script src="interface.js"></script>
</body>
</div>