Learn Accessibility by Building a Quiz - Step 46

Tell us what’s happening:

I don’t know what to do here. help says You should give the a elements inside list a color propeerty but i did that

Your code so far

<!-- file: index.html -->

/* file: styles.css */
/* User Editable Region */

a, 
li {
  color: 7:1;
}

/* 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/130.0.0.0 Safari/537.36

Challenge Information:

Learn Accessibility by Building a Quiz - Step 46

The color property looks off because the value you used isn’t valid. Try changing color: 7:1; to something like color: #0000FF; for blue, or use any hex code.

this selects a elements and li elements, it doesn’t select a elements inside li elements

also, you can’t give a ratio as color, you need to choose a color that has that ratio with the background

Hello @podgorsek.zan11 !

Here is a link to a color contrast selector where you can enter the ratio, and it will provide a color contrast pair in hex colors.

https://color.adobe.com/create/color-contrast-analyzer

However, for this exercise, I suggest try using one of your previous hex colors in your code as suggested in the error message.

Hope this helps you.

Wishing you good progress on your coding journey. :slightly_smiling_face:

you need to change only the font color, not the background color. It needs to have teh contrast with the background set in the body