Multiple ChoiceBeginner 30s
classList API
Choose the best answer for: class manipulation
Options
- 1classList replaces the whole className with a single new class
- 2classList only reads class names and cannot add or toggle them
- 3classList is a plain string that must be concatenated to change
- 4classList.add/remove/toggle manipulate classes without overwriting
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.