All Challenges
#87
Native CSS Nesting
HardCategory: Modern CSS
Nest the hover pseudo-class inside .nav-item using the native & nesting syntax (&:hover { color: #2563eb; }).
Target HTML in preview:
<a class="nav-item" href="#">Home</a>
Verification Criteria:
Use &:hover nesting
Set color: #2563eb
styles.css
Live EvaluationLoading...
|
Live Browser Output
Sandboxed Preview