Web development · The DOM and events

Finding elements

Before a script can change part of a page it has to find that part, and it uses the selectors you already write in CSS.