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

Code Repetition Review #5

Closed
Gambit142 opened this issue Sep 27, 2021 · 1 comment
Closed

Code Repetition Review #5

Gambit142 opened this issue Sep 27, 2021 · 1 comment

Comments

@Gambit142
Copy link
Owner

Hi Francis,

Wonderful job implementing the CRUD functions and the draggable function as well. I think improvements can be made by putting the code below in a function and calling that function in each of the CRUD functions you created. Doing this will ensure your code is DRY.

Wonderful work done, keep at it, and in no time, you will be a genius. 💪

localStorage.setItem('listOfTasks', JSON.stringify(filteredArray));
window.location.reload();

@Gambit142
Copy link
Owner Author

Thank you for this feedback, I surely would work on putting this in a function. 👏

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

No branches or pull requests

1 participant