Tell us what’s happening:
Stuck on lesson 46 of the Learn Accessibility by building a quiz.
My code:
li > a {
color: “black”;
}
FCC response: You should give the a elements inside list items a color property.
I have a color property, and I thought that li > a would target all anchor elements within the list items, given that the above css element is nav > ul > li, so targeting all unordered list items within the nav element.
Looking for guidance.
Your code so far
<!-- file: index.html -->
/* file: styles.css */
/* User Editable Region */
li a {
color: "black";
}
/* 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/128.0.0.0 Safari/537.36
Challenge Information:
Learn Accessibility by Building a Quiz - Step 46