-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
34 lines (32 loc) · 1.12 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="to-do_styles.css">
<title>To-Do App</title>
</head>
<body>
<div id="todo-container">
<div id="todo-header">To-Do List</div>
<input type="text" id="task-input" placeholder="Add a new task" onkeydown="if (event.key === 'Enter') addTask()">
<input type="datetime-local" id="completion-time">
<button id="add-task-button" onclick="addTask()">Add Task</button>
<table id="task-table">
<thead>
<tr>
<th>S.No.</th>
<th>Task Name</th>
<th>Date and Time</th>
<th>Action</th>
</tr>
</thead>
<tbody id="task-list"></tbody>
</table>
<div id="date-time"></div>
<div id="todo-footer">Made with ❤️ by Aadil Latif</div>
<a id="about-me-link" href="https://drive.google.com/file/d/11Vb6Rd-dkPdTvWlKJ0COzByx6apwvmMu/view?usp=sharing" target="_blank">About me</a>
</div>
<script src="script.js"></script>
</body>
</html>