-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
47 lines (47 loc) · 1.8 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>To-Do List</title>
<link rel="stylesheet" href="styles.css">
</head>
<body>
<div class="container">
<h1>To-Do List</h1>
<form id="task-form">
<input type="text" id="task-input" placeholder="Add a new task..." required>
<input type="date" id="due-date" required>
<select id="priority">
<option value="low">Low Priority</option>
<option value="medium">Medium Priority</option>
<option value="high">High Priority</option>
</select>
<select id="category">
<option value="work">Work</option>
<option value="personal">Personal</option>
<option value="others">Others</option>
</select>
<button type="submit">Add Task</button>
</form>
<div class="filters">
<select id="filter-priority">
<option value="all">All Priorities</option>
<option value="low">Low Priority</option>
<option value="medium">Medium Priority</option>
<option value="high">High Priority</option>
</select>
<select id="filter-category">
<option value="all">All Categories</option>
<option value="work">Work</option>
<option value="personal">Personal</option>
<option value="others">Others</option>
</select>
</div>
<ul id="task-list">
<!-- Task items will be added dynamically here -->
</ul>
</div>
<script src="scripts.js"></script>
</body>
</html>