All challenges
Multiple ChoiceIntermediate 30s

window.onload

Choose the best answer for: load event
Options
  1. 1load event fires after all resources (images, styles) have loaded
  2. 2load event fires only when a resource fails and logs an error
  3. 3load fires before the DOM is parsed and before elements exist
  4. 4load is exactly the same event as DOMContentLoaded and fires

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