Loading…
Loading…
Twenty questions on CSS selectors: classes, IDs and compound selectors, attribute selectors, combinators, structural and state pseudo-classes, :is(), :where(), :not() and :has(), pseudo-elements, and styling web components, with explanations.
Review quiz for Part 2 (Selectors) of the CSS course:
Questions with code were checked in Chrome, in an empty page with only the browser's default styles. Aim for at least 14 out of 20 before starting Part 3.
Quiz path: step 2. Take the quizzes in this order, after reading each article.
Previous quiz: Getting Started With CSS (CSS Part 1)
Next quiz: The Cascade (CSS Part 3)
20 questions · pass at 70%
Check your understanding; you see the answers and explanations after submitting.
Discussion
Sign in to ask a question or share what you learned.