Learn Accessibility by Building a Quiz - Step 47

Tell us what’s happening:

I don’t know what is wrong with my code. It keeps saying this: “Sorry, your code does not pass. You’re getting there. You should use the existing li > a selector to set the text-decoration to none.”

Your code so far

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

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

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

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

/* User Editable Region */

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.6.1 Safari/605.1.15

Challenge Information:

Learn Accessibility by Building a Quiz - Step 47

this looks fine, so check above if you have maybe removed the } of the previous selector

1 Like

Hey Buddy, You did exactly as you were instructed kindly do re-set your challenge.

And re-write your code.

Hope this helps you.

1 Like

That was the problem… I was missing the last } of the previous selector.

Thaaanks!