Skip to content

DRY, KISS, and YAGNI rules. #7

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

Open
megha-n-bodke opened this issue Aug 22, 2022 · 0 comments
Open

DRY, KISS, and YAGNI rules. #7

megha-n-bodke opened this issue Aug 22, 2022 · 0 comments

Comments

@megha-n-bodke
Copy link
Owner

megha-n-bodke commented Aug 22, 2022

  • all the DOM elements could have been kept in separate file, and imported it , rather than getting in each file.
  • e.g const containerDiv = document.getElementById('todoDiv'); in display.js
  • e.g const containerDiv = document.getElementById('todoDiv'); in clearCompleted.js.
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