← I Stopped Checking relatedTarget. :focus-within Does It in CSS.Quiz
:focus-within — test yourself
Seven questions on what :focus-within actually matches, how it differs from :focus and :focus-visible, and why relatedTarget checks exist in the first place.
questions7
pass mark70%
resultsat the end
No account needed. Answer all 7 questions, then see your score with every answer explained and a reference to the spec or MDN — pass and you can claim a certificate.