-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathhome.html
More file actions
44 lines (42 loc) · 1.17 KB
/
home.html
File metadata and controls
44 lines (42 loc) · 1.17 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
34
35
36
37
38
39
40
41
42
43
44
<!DOCTYPE html>
<html>
<head>
<title>Remote Control</title>
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon" />
<style>
.button {
background-color: #4CAF50; /* Green */
border: none;
color: white;
padding: 200px;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 36px;
margin: 4px 2px;
cursor: pointer;
}
.buttonRounded {
border-radius: 12px;
}
</style>
</head>
<body>
<script>
function goBack() {
var xhttp = new XMLHttpRequest();
xhttp.open("GET", "back", true);
xhttp.send();
}
function goNext() {
var xhttp = new XMLHttpRequest();
xhttp.open("GET", "next", true);
xhttp.send();
}
</script>
<center>
<button class="button buttonRounded" type="button" onclick="goBack()">Back</button>
<button class="button buttonRounded" type="button" onclick="goNext()">Next</button>
</center>
</body>
</html>