-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcal.html
97 lines (89 loc) · 2.58 KB
/
cal.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
86
87
88
89
90
91
92
93
94
95
96
97
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1.0">
<title>Calendar</title>
<link rel="stylesheet" type="text/css" href='https://fonts.googleapis.com/css?family=Schoolbell'/>
<link rel="stylesheet" type="text/css" href="style.css">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.0/css/bootstrap.min.css">
</head>
<body>
<div class = "title">
<span style="font-family: 'SchoolBell'">Calendar</span>
</div>
<div class = "home">
<a href="index.html">
<span class="glyphicon glyphicon-home" style="font-size:3em;color:rgb(100, 98, 98)"></span>
</a>
<span style = "color: white;">PM:</span>
<input type="checkbox" placeholder="AM" onclick="changeColor()">
</div>
<div class = "cal">
<div class="month">
<span class = "prev">❮</span>
<span>April 2019</span>
<span class = "next">❯</span>
</div>
<ul class="weekdays">
<li>M</li>
<li>T</li>
<li>W</li>
<li>T</li>
<li>F</li>
<li>Sa</li>
<li>Su</li>
</ul>
<ul class="days">
<li>1</li>
<li>2</li>
<li>3</li>
<li>4</li>
<li>5</li>
<li>6</li>
<li>7</li>
<li style = "background-color: blue; border-radius: 50%;">8</li>
<li>9</li>
<li>10</li>
<li>11</li>
<li>12</li>
<li>13</li>
<li>14</li>
<li>15</li>
<li>16</li>
<li>17</li>
<li>18</li>
<li>19</li>
<li>20</li>
<li>21</li>
<li>22</li>
<li>23</li>
<li>24</li>
<li>25</li>
<li>26</li>
<li>27</li>
<li>28</li>
<li>29</li>
<li>30</li>
<li>31</li>
</ul>
</div>
<div class="btn-group">
<button id = "btn-left"><a href="todo.html">To-do</a></button>
<button ><a href="cal.html">Calendar</a></button>
<button id = "btn-right"><a href="notes.html">Notes</a></button>
</div>
<script>
let am = 0;
function changeColor() {
if (am == 0) {
document.body.style.background = "linear-gradient(to bottom, #020111 10%,#3a3a52 100%)";
am = 1;
} else {
document.body.style.background = "linear-gradient(to bottom, #82addb 0%,#ebb2b1 100%)";
am = 0;
}
}
</script>
</body>
</html>