-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
41 lines (36 loc) · 1.34 KB
/
Copy pathindex.html
File metadata and controls
41 lines (36 loc) · 1.34 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Dynamic Task Manager</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<h1>Task Manager</h1>
<div class="main-container">
<div class="input-container">
<input type="text" id="task-input" placeholder="Enter your task...">
<select name="priority" id="priority">
<option value="high">High</option>
<option value="medium">Medium</option>
<option value="low" selected>Low</option>
</select>
<button type="button" id="add-task">Add Task</button>
</div>
<div class="output-container">
<div id="filter-sort-container">
<label for="filter-task">Filter by:</label>
<select name="filter-task" id="filter-task">
<option value="All">All</option>
<option value="Pending">Pending</option>
<option value="Completed">Completed</option>
</select>
<button type="button" id="sort-task">Sort by Ascending</button>
</div>
<ul id="task-list"></ul>
</div>
</div>
<script src="script.js"></script>
</body>
</html>