-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
57 lines (53 loc) · 1.63 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Vanilla Javascript Calendar</title>
<link rel="stylesheet" href="style.css">
<!-- Google Fonts -->
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Fira+Sans:wght@200&family=Lobster+Two&family=Noto+Serif&display=swap" rel="stylesheet">
</head>
<body>
<div id="container">
<div class="advice-container">
<p id="advice"></p>
</div>
<div id="header">
<div id="monthDisplay"></div>
<div>
<button id="previousButton">« Previous</button>
<button id="nextButton">Next »</button>
</div>
</div>
<div id="weekdays">
<div>Mon</div>
<div>Tue</div>
<div>Wed</div>
<div>Thu</div>
<div>Fri</div>
<div>Sat</div>
<div>Sun</div>
</div>
<div id="calendar"></div>
</div>
<div id="newEventModal">
<h2>New Event</h2>
<input id="eventTitleInput" placeholder="Event Title">
<button id="saveButton">Save</button>
<button id="cancelButton">Cancel</button>
</div>
<div id="deleteEventModal">
<h2>Event</h2>
<p id="eventText"></p>
<button id="deleteButton">Delete</button>
<button id="closeButton">Close</button>
</div>
<!--Black overlay that brings more focus to the modal-->
<div id="modalBackDrop"></div>
<script src="index.js" type="module" defer></script>
</body>
</html>