All challenges
Multiple ChoiceBeginner 30s

classList API

Choose the best answer for: classlist api
Options
  1. 1Reads the class list without editing it
  2. 2Marks the element class list deprecated
  3. 3add/remove/toggle classes without overwriting
  4. 4Returns the class names as a single string

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