Snippets for Vanilla JS Coding

added by JavaScript Kicks
7/23/2018 8:04:40 AM

1920 Views

When coding in VanillaJS, I usually create shortcuts for document.querySelector and document.querySelectorAll. I also like to declare D as a shortcut to document: It's also good to know that the $ and $$ functions are already built-in aka Command Line API when you open the JS console in Devtools.


0 comments