Learn Accessibility by Building a Quiz - Step 46

Tell us what’s happening:

I thought I added contrast to the text using css but it’s saying I’m doing something wrong.

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/605.1.15 (KHTML, like Gecko) Version/17.1 Safari/605.1.15

Challenge Information:

Learn Accessibility by Building a Quiz - Step 46

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

This is the code

Hello,
you’re not supposed to make the values the ratios, you’re supposed to choose a value to put in that fits the ratio, as well as a font color. I did 25 for contrast, and the suggested color #dfdfe2

You need a color value , that’s opposite of your anchor link background color. Example If you have your link background color black. Then you should make the Link color value white.
@Jimmieperr11

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