Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add and remove tasks #2

Closed
wants to merge 4 commits into from
Closed

Add and remove tasks #2

wants to merge 4 commits into from

Conversation

ShingiraiBhengesa
Copy link
Owner

In this branch, I made the following changes.

  • Removed all hardcoded items from the tasks array.
  • Created a new JavaScript file for the new functionality.
  • implement a function for adding a new task.
  • implement a function for deleting a task.
  • implement a function for editing task descriptions.
  • By default new tasks 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.
  • All changes to the To-Do List are saved in local storage.

@ShingiraiBhengesa ShingiraiBhengesa deleted the add-and-remove branch April 28, 2022 00:02
@ShingiraiBhengesa ShingiraiBhengesa restored the add-and-remove branch April 28, 2022 02:58
@ShingiraiBhengesa ShingiraiBhengesa deleted the add-and-remove branch April 28, 2022 03:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant