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

Javascript best practices #7

Closed
wayungi opened this issue Jul 11, 2022 · 1 comment
Closed

Javascript best practices #7

wayungi opened this issue Jul 11, 2022 · 1 comment

Comments

@wayungi
Copy link
Owner

wayungi commented Jul 11, 2022

Please use object destructing in the line below

const createTask = (description, completed = false, id) => ({

Use HTML 5 tags

<div id="todo_list" class="todo_list flex-column"></div>

@wayungi
Copy link
Owner Author

wayungi commented Jul 24, 2022

Using object destructuring here will make the code dirty

@wayungi wayungi closed this as completed Jul 24, 2022
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