← Stop Blaming `prefers-color-scheme` For Your Theme FlashQuiz

Theme flash: prefers-color-scheme vs. script timing

Eight questions on what prefers-color-scheme actually does, why a pure-CSS dark mode never flashes, and why your theme-toggle script might be causing the flash you're blaming on CSS.

questions8
pass mark70%
resultsat the end

No account needed. Answer all 8 questions, then see your score with every answer explained and a reference to the spec or MDN — pass and you can claim a certificate.