Core: learn it Step 7 of 16 on the Frontend Developer roadmap

Selecting elements

document.querySelector() and querySelectorAll() find elements using the same selectors as CSS. Find elements once and keep them in variables.

Learn it on JeliScript

More in The DOM and events

See it on the Frontend Developer roadmap