Add a new JavaScript file and import it as a module:
it contains methods related to the status updates
Add event listener to the checkbox
Update items object's value for the completed key upon user actions.
Implement a function for the "Clear all completed" button (use filter() method).
Store the updated array of items in local storage, so the user gets the correct list of values after the page reloads (which means that any changes made to the list should be preserved).
To-do-list-interactive
Implement All Requirementscompleted
key upon user actions.use filter()
method).