Multiple ChoiceBeginner 30s
createElement
Choose the best answer for: creating DOM elements
Options
- 1document.createElement('div') creates a new element
- 2document.createElement('div') returns null until it is appended
- 3createElement only works when called on the document body
- 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.