File tree Expand file tree Collapse file tree 1 file changed +29
-3
lines changed Expand file tree Collapse file tree 1 file changed +29
-3
lines changed Original file line number Diff line number Diff line change 33< head >
44 < meta charset ="UTF-8 ">
55 < meta name ="viewport " content ="width=device-width, initial-scale=1.0 ">
6- < title > Document</ title >
6+ < title > To-Do List with Categories</ title >
7+ < link rel ="stylesheet " href ="style.css ">
78</ head >
89< body >
9-
10+ < div class ="container ">
11+ < h1 > To-Do List</ h1 >
12+ < div class ="form-container ">
13+ < input type ="text " id ="task-input " placeholder ="Enter task " />
14+ < select id ="category-select ">
15+ < option value =""> Select Category</ option >
16+ < option value ="Work "> Work</ option >
17+ < option value ="Personal "> Personal</ option >
18+ < option value ="Urgent "> Urgent</ option >
19+ </ select >
20+ < button class ="add-btn "> Add Task</ button >
21+ </ div >
22+ < div class ="filter-container ">
23+ < label for ="filter-select "> Filter by Category:</ label >
24+ < select id ="filter-select ">
25+ < option value =""> All</ option >
26+ < option value ="Work "> Work</ option >
27+ < option value ="Personal "> Personal</ option >
28+ < option value ="Urgent "> Urgent</ option >
29+ </ select >
30+ </ div >
31+ < ul id ="task-list ">
32+ <!-- Tasks will be dynamically inserted here -->
33+ </ ul >
34+ </ div >
35+ < script type ="module " src ="index.js "> </ script >
1036</ body >
11- </ html >
37+ </ html >
You can’t perform that action at this time.
0 commit comments