Issues with Javascript To-Do list: Deleting Tasks and Local Storage
I’m working on a simple to-do list application using HTML, CSS and Javascript. I’ve encountered an issue when trying to delete tasks from the task list. I’m trying to implement a feature where clicking on the delete button removes the corresponding task item from the list but it’s not working as expected. The delete button appears correctly, but when clicked it does not remove the task item from the list. I’ve also implemented the functionality to store the tasks i the local storage so that they can persist even after the page has been refreshed but this doesn’t seem to be working either. When I refresh the page, the tasks are not refreshed from the local storage.