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

Creating a variable for repeats #7

Open
c3ho opened this issue Sep 22, 2019 · 1 comment
Open

Creating a variable for repeats #7

c3ho opened this issue Sep 22, 2019 · 1 comment

Comments

@c3ho
Copy link

c3ho commented Sep 22, 2019

Hi Ryan, noticed you repeated document.querySelector('#note').innerHTML a few times in your code. I'd like to suggest creating a variable called noteHTMLSelector instead to save keystrokes in the future if you decide to keep using document.querySelector('#note').innerHTML.

@RyanWils
Copy link
Owner

If you would like to add it in please go ahead, its a good suggestion

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

2 participants