All challenges
Multiple ChoiceBeginner 30s

createElement

Choose the best answer for: creating DOM elements
Options
  1. 1document.createElement('div') creates a new element
  2. 2document.createElement('div') returns null until it is appended
  3. 3createElement only works when called on the document body
  4. 4createElement is a CSS method that declares element styling

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