Learn Accessibility by Building a Quiz - Step 47

Tell us what’s happening:

You should use either the nav > ul > li:hover or nav li:hover selector to style the elements on hover.

whats the answers to this ???

Your code so far

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

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

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

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

/* 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/127.0.0.0 Safari/537.36

Challenge Information:

Learn Accessibility by Building a Quiz - Step 47

The hint told you the answer but you didn’t copy it correctly.