All challenges
Multiple ChoiceBeginner 30s

document.getElementById

Choose the best answer for: DOM element selection
Options
  1. 1getElementById uses CSS selectors
  2. 2getElementById returns a single element or null
  3. 3getElementById only works on classes
  4. 4getElementById returns a collection

Think you can answer under pressure?

Get matched and answer live questions in 3-minute 1v1 battles. Elo ranking, badge tiers and bragging rights on the line.

Play this in a 3-minute battle