Learn Accessibility by Building a Quiz - Step 47

Tell us what’s happening:

I don’t understand the instruction on step 47 .the color -li is not working

Your code so far

<!-- file: index.html -->

/* file: styles.css */
/* User Editable Region */

nav >ul > li:hover { 
  color-li: #1b1b32;
  background-color: #dfdfe2;
}

li > a {
  color:inherent;
  text-decoration: none;
}

/* User Editable Region */

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36

Challenge Information:

Learn Accessibility by Building a Quiz - Step 47

1 Like
nav >ul > li:hover { 
  color-li: #1b1b32;
  background-color: #dfdfe2;
}

you didnt add the last element it said, and > must be with spaces around.
also color-li is not a valid element

how do I give a “li” a cursor of pointer?

i have done it .thanks

1 Like

Mark the reply that is the solution, so that the system knows this case is solved! Thank you!