Learn Accessibility by Building a Quiz - Step 45

Hi, I am experiencing a little challenge with my CSS code in step 45

Here is what I have in my code:

li > a {

color: (contrast-ratio=“7:1”);

}

Challenge: Learn Accessibility by Building a Quiz - Step 45

Link to the challenge:

That isn’t the correct syntax for setting the color property.

All that is asked that you do is to set the color as you normally would do. If the color you pick doesn’t have the correct contrast ratio the hint will provide you with a hex color you can use.

1 Like

Got it. Thank you very much.

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