-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
85 lines (80 loc) · 2.11 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
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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
<!DOCTYPE html>
<html>
<head>
<style>
button {
width: 70vw;
margin: 50px;
padding: 20px;
font-size: x-large;
position: absolute;
}
</style>
</head>
<body>
<input onclick="changeSun()" type="button" value="◻️" id="sunButton"></input>
<input onclick="changeMon()" type="button" value="◻️" id="monButton"></input>
<input onclick="changeTue()" type="button" value="◻️" id="tueButton"></input>
<input onclick="changeWed()" type="button" value="◻️" id="wedButton"></input>
<input onclick="changeThu()" type="button" value="◻️" id="thuButton"></input>
<input onclick="changeFri()" type="button" value="◻️" id="friButton"></input>
<input onclick="changeSat()" type="button" value="◻️" id="satButton"></input>
<script>
function changeSun()
{
var elem = document.getElementById("sunButton");
if (elem.value=="◻️") elem.value="✅";
else elem.value = "◻️";
}
</script>
<script>
function changeMon()
{
var elem = document.getElementById("monButton");
if (elem.value=="◻️") elem.value="✅";
else elem.value = "◻️";
}
</script>
<script>
function changeTue()
{
var elem = document.getElementById("tueButton");
if (elem.value=="◻️") elem.value="✅";
else elem.value = "◻️";
}
</script>
<script>
function changeWed()
{
var elem = document.getElementById("wedButton");
if (elem.value=="◻️") elem.value="✅";
else elem.value = "◻️";
}
</script>
<script>
function changeThu()
{
var elem = document.getElementById("thuButton");
if (elem.value=="◻️") elem.value="✅";
else elem.value = "◻️";
}
</script>
<script>
function changeFri()
{
var elem = document.getElementById("friButton");
if (elem.value=="◻️") elem.value="✅";
else elem.value = "◻️";
}
</script>
<script>
function changeSat()
{
var elem = document.getElementById("satButton");
if (elem.value=="◻️") elem.value="✅";
else elem.value = "◻️";
}
</script>
</body>
</html>