Learn Accessibility by Building a Quiz - Step 46

Tell us what’s happening:

i need help with step 46…

Your code so far

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

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

a{
  
 
 color: color-contrast(#505050 vs #fff, #000 )
}

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

Challenge Information:

Learn Accessibility by Building a Quiz - Step 46

this does nothing

you need to write a color that has that contrast with the background color.

Also because two colors between each other have a specific contrast, but if you have one color, there are many that have that contrast with it.

Remember, you need to write a color there. There is a suggestion on the hint.

1 Like