Learn Accessibility by Building a Quiz - Step 46

Tell us what’s happening:

Help! I don’t understand what this is asking me to do. It says to add a contrast of color to all anchor elements within list items. But every time I try to submit it, it says that I need to "give the ‘a’ code, inside list items a color property. Here is a picture of my code. B.T.W. I just started using code, so I am an amateur. :joy:file:///C:/Users/Brody%20Toves/Downloads/Screenshot_19-9-2024_21341_www.freecodecamp.org.jpeg

I don’t know whether or not it will work though

Your code so far

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

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


ul li a {
  color: contrast 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/128.0.0.0 Safari/537.36 Edg/128.0.0.0

Challenge Information:

Learn Accessibility by Building a Quiz - Step 46

Hi @witheredbonnie1123

Try changing

to white

Happy coding

I am partially color-blind, so I had to Google how to measure contrast for accessibility. I found a tool that takes 2 colors and calculates their contrast. I just picked the color and background color from that tool.