-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
124 lines (120 loc) · 3.17 KB
/
Copy pathindex.html
File metadata and controls
124 lines (120 loc) · 3.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
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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
<!DOCTYPE html>
<html>
<head>
<style>
table {
border-collapse: collapse;
width: 300px;
}
table,
th,
td {
border: 1px solid black;
}
th,
td {
text-align: center;
padding: 10px;
}
th {
background-color: #f2f2f2;
}
td {
cursor: pointer;
}
</style>
<link rel="stylesheet" href="./style.css" />
</head>
<body>
<h1>When is Good?</h1>
<h3>Find availabilities for your next (imporant) meeting</h3>
<div>
<button onclick="prevMonth()">Previous Month</button>
<button onclick="nextMonth()">Next Month</button>
</div>
<table id="calendar">
<thead>
<tr>
<th colspan="7">September 2023</th>
</tr>
<tr>
<th>Sun</th>
<th>Mon</th>
<th>Tue</th>
<th>Wed</th>
<th>Thu</th>
<th>Fri</th>
<th>Sat</th>
</tr>
</thead>
<tbody></tbody>
</table>
<p id="selectedDay">Selected Day: None</p>
<div id="calendar"></div>
<div id="meeting">
<ul>
<label for="meetingInput">Meeting name: </label>
<input type="text" id="meetingInput" />
</ul>
</div>
<div id="name">
<ul>
<label for="nameInput">Enter your name: </label>
<input type="text" id="nameInput" />
</ul>
</div>
<div id="timeInput">
<ul>
<label for="nineInput"> 9am to 10am: </label>
<input type="hidden" id="nineInputHidden" value="No" />
<input type="checkbox" id="nineInput" value="yes" />
</ul>
<ul>
<label for="tenInput">10am to 11am: </label>
<input type="hidden" id="tenInputHidden" value="No" />
<input type="checkbox" id="tenInput" value="yes" />
</ul>
<ul>
<label for="elevenInput">11am to 12pm: </label>
<input type="hidden" id="elevenInputHidden" value="No" />
<input type="checkbox" id="elevenInput" value="yes" />
</ul>
<!-- <ul>
<label for="twelveInput">12pm to 1pm: </label>
<input type="checkbox" id="twelveInput" value="12-1" />
</ul>
<ul>
<label for="oneInput">1pm to 2pm: </label>
<input type="checkbox" id="oneInput" value="1-2" />
</ul>
<ul>
<label for="twoInput">2pm to 3pm: </label>
<input type="checkbox" id="twoInput" value="2-3" />
</ul>
<ul>
<label for="threeInput">3pm to 4pm: </label>
<input type="checkbox" id="threeInput" value="3-4" />
</ul>
<ul>
<label for="fourInput">4pm to 5pm: </label>
<input type="checkbox" id="fourInput" value="4-5" />
</ul>
<ul>
<label for="fiveInput">5pm to 6pm: </label>
<input type="checkbox" id="fiveInput" value="5-6" />
</ul> -->
</div>
<button onclick="addData()">Add</button>
<p id="userMeetingInput">Meeting name: None</p>
<table id="outputTable">
<tr>
<th>Date</th>
<th>Name</th>
<th>9-10</th>
<th>10-11</th>
<th>11-12</th>
</tr>
</table>
<script src="script.js"></script>
</body>
</html>