Learn Accessibility by Building a Quiz - Step 47

Tell us what’s happening:
i’ve tried both code options and it still shows the same error.
The error: You should use either the nav > ul > li:hover or nav li:hover selector to style the elements on hover.
Your code so far

WARNING

The challenge seed code and/or your solution exceeded the maximum length we can port over from the challenge.

You will need to take an additional step here so the code you wrote presents in an easy to read format.

Please copy/paste all the editor code showing in the challenge from where you just linked.

li > a {
  text-decoration: none;
}
nav li:hover > a {
  background-color: blue;
  color: black;
  cursor: pointer;
}

Your browser information:

User Agent is: Mozilla/5.0 (X11; CrOS x86_64 14541.0.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36

Challenge: Learn Accessibility by Building a Quiz - Step 47

Link to the challenge:

If you look at your code you are not using either of the two its suggesting to you. Look at it carefully

1 Like

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.