Closed brettz9 closed 5 years ago
Thanks for the fixes. BTW, what's the rational for querySelector
vs getElementById
?
I have seen one prominent dev suggest getElementById
could even be deprecated in the future, though for backward-compatibility I'd sure hope not... But it is a good practice I think as one can more consistently search one's code if one follows one form and querySelector
is more capable...
Btw, if you ever add
@example
tags within the code, ash-nazg can lint that too (just as this PR adds for Markdown files' JavaScript blocks)...