Glossary coding Term Page

DOM selectors

`querySelector` and `querySelectorAll` find elements

dom-selectors #coding#javascript
Korean version

Related Concepts

Core Idea

DOM selectors is querySelector and querySelectorAll find elements. Because a match may not exist, pair them with optional chaining (?.). It usually makes the most sense alongside Event handlers, classList API, Event delegation.

Why It Matters Here

Mathbong reuses this term across javascript posts as shared vocabulary.

Posts Mentioning This Concept