Step 45 Change the font color of all the anchor elements within the list elements to something with a contrast ratio of at least 7:1

Tell us what’s happening:

not being able to apply property
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.

Replace these two sentences with your copied code.
Please leave the ``` line above and the ``` line below,
because they allow your code to properly format in the post.

Your browser information:

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

Challenge: Step 45

Link to the challenge:

Can you post your code, it is hard to help you without your code.

1 Like

can you help me out?

You have to give the color property a color like white, here contrast ratio is just to make sure that the anchor text can be readable, it is not a css property.

Mod edit: solution removed

4 Likes

thank you, this helped me

li> a{color:white;contrast:(7/1);}

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