@@ -32,16 +32,16 @@ <h1>Endless Task List App using Flask</h1>
3232 Add New Task< br />
3333 < form action ="{{ url_for('add_task') }} " method ="post ">
3434 <!--form to add task-->
35- Name:
36- < input
35+ < label for =" name " > Name: </ label
36+ > < input
3737 type ="text "
3838 id ="name "
3939 name ="name "
4040 maxlength ="80 "
4141 required
4242 /> < br />
43- Due date:
44- < input
43+ < label for =" due_date " > Due date: </ label
44+ > < input
4545 type ="date "
4646 id ="due_date "
4747 name ="due_date "
@@ -50,29 +50,29 @@ <h1>Endless Task List App using Flask</h1>
5050 value ="{{ today }} "
5151 required
5252 /> < br />
53- Priority:
54- < select id ="priority " name ="priority ">
53+ < label for =" priority " > Priority: </ label
54+ > < select id ="priority " name ="priority ">
5555 < option value ="1 " selected > Low</ option >
5656 < option value ="2 "> Medium</ option >
5757 < option value ="3 "> High</ option > </ select
5858 > < br />
59- Difficulty:
60- < select id ="difficulty " name ="difficulty ">
59+ < label for =" difficulty " > Difficulty: </ label
60+ > < select id ="difficulty " name ="difficulty ">
6161 < option value ="1 " selected > Easy</ option >
6262 < option value ="2 "> Medium</ option >
6363 < option value ="3 "> Hard</ option > </ select
6464 > < br />
65- Repeat every:
66- < input
65+ < label for =" repeat_interval " > Repeat every: </ label
66+ > < input
6767 type ="number "
6868 id ="repeat_interval "
6969 name ="repeat_interval "
7070 min ="1 "
7171 step ="1 "
7272 value ="1 "
7373 /> < br />
74- Repeat interval:
75- < select id ="repeat_often " name ="repeat_often ">
74+ < label for =" repeat_often " > Repeat interval: </ label
75+ > < select id ="repeat_often " name ="repeat_often ">
7676 < option value ="1 "> Daily</ option >
7777 < option value ="2 "> Weekly</ option >
7878 < option value ="3 "> Monthly</ option >
0 commit comments