-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
33 lines (31 loc) · 1.05 KB
/
index.html
File metadata and controls
33 lines (31 loc) · 1.05 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
<!DOCTYPE html>
<html>
<head>
<title>Thermostat</title>
<script src="https://code.jquery.com/jquery-3.3.1.min.js"></script>
<script src="jasmine-standalone-3/src/thermostat.js"></script>
<script src="interface.js"></script>
<link href="style.css" type="text/css" rel="stylesheet">
</head>
<body>
<section>
<h1 id="temprature"></h1>
<p>
<button id="temprature-up" class="a">+</button>
<button id="temprature-down" class="a">-</button>
<button id="temprature-reset" class="a">reset</button></br>
<div class="c">power saving mode is:</div>
<span id="power-saving-status" class="d">on</span></br>
<button id="powersaving-on" class="b">PSM on </button>
<button id="powersaving-off" class="b">PSM off</button>
</p>
</section>
<section>
<h1>Current temperature: <span id="current-temperature"></span></h1>
<form id="select-city">
<input id="current-city" type="text" placeholder="Enter a city" class="e"></input>
<input type="submit" class="f"></input>
</form>
</section>
</body>
</html>