The id's in data array start at 0 so they get the same value as the index. Slightly different than what the project requests. π
I would love advice to improve my project and my skill (to be implemented after approval).
Project requirements
Remove all hardcoded items from the tasks array. βοΈ
Create a new JavaScript file for the new functionality. βοΈ
Implement a function for adding a new task (add a new element to the array). βοΈ
Implement a function for deleting a task (remove an element from the array). βοΈ
Implement a function for editing task descriptions. βοΈ
By default new tasks should have the property completed set to false and the property index set to the value of the new array length. π
Deleting a task should update all remaining items' indexes, so they represent the current list order and are unique(i.e. if you're deleting the first task index 1 from the list, the index of the next task(2) should set to 1). βοΈ
All changes to the To Do List should be saved in local storage.βοΈ
To Do list: add & remove
Hi good reviewer,
These are the changes proposed for the To Do list project:
For more detail refer to the README.md file.
Notes:
Project requirements