Pseudo-Classes: :hover: Coding lesson for kids
In “Pseudo-Classes: :hover”, children learn about button:hover { background: blue; }.
button:hover { background: blue; }: A pseudo-class — this rule only applies WHILE the mouse is hovering over the button, not all the time.
This lesson is part of HTML/CSS in Coding at Pearls Valley Academy — Build and style your first web page.
Each lesson starts with a short narrated, animated explanation, then hands-on practice. A wrong answer gets a gentle hint, never a penalty, and children earn stars and pearls as they go.