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