issues
search
devMunyi
/
todo-list
To-do list is a tool that helps to organize your day. It simply lists the things that you need to do and allows you to mark them as complete.
7
stars
0
forks
source link
Create interactive list
#3
Closed
devMunyi
closed
2 years ago
devMunyi
commented
2 years ago
Added a new JavaScript file and imported it as a module: it contain methods related to the status updates (completed: true / false).
Added event listener to the checkbox (change).
Updated items object's value for completed key upon user actions.
Implemented 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 values after the page reloads.