The DOM

How to select individual element nodes

Code Description
getElementById() Function that selects element by ID, passed in as string.
querySelector() Function that selects element by CSS selector, passed in as string