Skip to content
All Challenges
#24

Hover Pseudo-Class

Easy
Category: Selectors

Change the background color of .btn to #2563eb when hovered (:hover).

Target HTML in preview:
<button class="btn">Hover Action</button>
Verification Criteria:
Target .btn:hover
Set background to #2563eb on hover
styles.css
Live Evaluation
Loading...
|
Live Browser Output
Sandboxed Preview