-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
30 lines (29 loc) · 1.24 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
<!DOCTYPE html>
<html>
<head>
<title>Peter's Thermostat</title>
</head>
<body>
<link rel='stylesheet' type='text/css' href='style.css'>
<section>
<h1>Thermostat Temperature: <span id="temperature"></span>°c</h1>
<h1>Location Temperature: <span id="current-temperature">20</span>°c</h1>
<form id="select-city">
<input class="current-city" id="current-city" type="text" placeholder="Enter a location"></input>
<input class="button6" type="submit"></input>
</form>
</select>
<p>
<button class="button1" id="temperature-up">Increase Temperature +</button>
<button class="button2" id="temperature-down">Decrease Temperature -</button>
<button class="button3" id="temperature-reset">Reset Temperature</button>
<span id="power-saving-status"></span>
<button class="button4" id="powersaving-on">Turn Power Saving Mode On</button>
<button class="button5" id="powersaving-off">Turn Power Saving Mode Off</button>
</p>
</section>
<script src="src/thermostat.js"></script>
<script src="https://code.jquery.com/jquery-2.1.4.min.js"></script>
<script src="/Users/peter/Projects/Week5/Thermostat/interface.js"></script>
</body>
</html>