Pseudo-Class Quiz
Multiple Choice Easy
Question
Which pseudo-class matches an element when the user hovers over it?
Hint
It is named after the action of moving the mouse over an element.
Explanation
:hover matches when the user's cursor is over the element. :active matches while the element is being clicked (pressed). :over and :mouse do not exist in CSS. :hover is commonly used for interactive feedback on links and buttons.
Related Resources
Related Lessons
Look up unfamiliar terms
A beginner-friendly glossary explains jargon in plain English — variables, functions, DOM, Promise, and more.
Decode error messages
Plain-English explanations of common errors — what they mean, why they happen, and how to fix them.
Build real projects
Apply what you learned by building guided projects with starter code and solutions.