Step 45-I am stuck- On the topic of visual accessibility, contrast between elements is a key factor

Tell us what’s happening:
I did not understand this topic . Need help to better understand this contrast ratio thing.
Change the font color of all the anchor elements within the list elements to something with a contrast ratio of at least 7:1.

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 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.0.0 Safari/537.36

Challenge: Step 45

Link to the challenge:

You must make all the a’s inside li’s inherit their color.
Here is an example:

p > a{
  color:inherit;/*inherit the color*/
}

It makes all a’s inside p’s inherit their color.
Try it with the li’s and a’s.

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