Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
IN This PR I present the To-Do-List app Interactions :
Below are some of my implementations as well as going over the project requirements π€ .
Requirements
-Add a new JavaScript file and import it as a module π
-the script should contain methods related to the status updates (
completed
:true
/false
). π-Add event listener to the checkbox (
change
). π₯-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 π
Achievements
-Create a new JavaScript file for the new Interactions.β
-add the necessary logic π§ to add and remove items to the list and to the Dom π β
-By default, new tasks should have the property
completed
set tofalse
and theindex
set to the value of the arraylengthβ-Add event listener to the checkbox (
change
). π₯-Update items object's value for the
completed
key upon user actions. π‘-Deleting a task should update all remaining items'
indexes
.β-All changes to the To Do List should be saved in local storage.β
-add styling π¨ based on the list structure given β
Conclusion
I would love to hear π from you my CR in terms of what can be better implemented π¨βπ» for the site thankyou!. And I look forward to hearing from you soon. π