Question: - Features to implement - Adding tasks - File to complete: - Tasks.js: Add the task to the list using Ajax. The HTML code for
Features to implement
Adding tasks
File to complete:
Tasks.js: Add the task to the list using Ajax. The HTML code for the task comes from the server.
Addtask.php: inserts the new task into the DB and generates the HTML code of the task.
Index.html
file: Tasks.js
$documentreadyfunction
Adding a new task
$#taskForm'onsubmit function e
epreventDefault;
;
Delete a task
$documentonclick
deletetaskbutton'
function
;
Handle the change in completion status of a task
$documentonclick
update task button'
function
;
;
file: Addtask.php
file:index.html
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
