Learn Accessibility by Building a Quiz - Step 46

Tell us what’s happening:

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 {
  color: inherit;
	text-decoration:none;
	
}
nav > ul > li {
	background: hover;
}

Your browser information:

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

Challenge: Learn Accessibility by Building a Quiz - Step 46

Link to the challenge:

what am i missing? im stumped :thinking:

The selector you have written is incorrect, write " nav>ul>li:hover{change background here}" like this

3 Likes

@ragnar0261973 The challenge wants you to style it using CSS i.e your nav > ul > li:hover{backgroundcolor, color, cursor, text-decoration property
}

1 Like

thanks… that worked :smiley:

this also helped. thanks :smiley:

the css ‘>’ selectors and the ‘blank space’ selectors need an explanation at the beginning of this course.
the :hover selector, and the other anchor tag selectors like :link, :visited, and :active, also needs an explanation as it’s the first time it appears in the coursework.

1 Like

Yeah whats the difference between using > or blank space? isnt it the same?

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