Lorenah M.
Use HTML and CSS to design a responsive and visually appealing layout. You can use a framework like Bootstrap or Materialize to make it easier to create the UI.
Use JavaScript to read data from the db.json file and display it on the UI. You can use the fetch() function to make HTTP requests to the file and retrieve the data in JSON format.
Add functionality to allow users to add new tasks. When the user submits the form, the JavaScript code should send a POST request to the db.json file to add the new task.
Add functionality to allow users to edit existing tasks. When the user clicks on an "edit" button for a task, the JavaScript code should retrieve the task data from the db.json file and populate the form fields with the data. When the user submits the updated form, the JavaScript code should send a PUT request to the db.json file to update the task.
Add functionality to allow users to delete tasks. When the user clicks on a "delete" button for a task, the JavaScript code should send a DELETE request to the db.json file to remove the task.
Test the app to make sure it works as expected. You can use a tool like json-server to serve the db.json file and test the app locally.