All challenges
Multiple ChoiceBeginner 30s

appendChild

Choose the best answer for: adding to DOM
Options
  1. 1appendChild adds the node as the first child
  2. 2appendChild adds a node as the last child
  3. 3appendChild is deprecated and replaced by innerHTML
  4. 4appendChild replaces every existing child

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