Building a Cafe Menu Step 79

Hello, I’ve been stumped on this part of the project and I’m not entirely sure what I’m doing wrong. I’ve had a couple opinions from others who agreed I’ve done it correctly, even one went as far as doing it themselves and the website accepted it, but it won’t accept my answer.

# Step 79

The default color of a link that has not yet been clicked on is typically blue. The default color of a link that has already been visited from a page is typically purple.

To make the footer links the same color regardless if a link has been visited, use a type selector for the anchor element (a) and use the value black for the color property.

The answer that I’m typing in is:

a {
color: black;
}

I’ve played around with the spacing as well and I have not prevailed.
Any advice and/or tips would be greatly appreciated!

Hello!
Welcome to the forum.

Try:

a:visited {
color: black;
}

Thank you so much for the tip! But unfortunately, it didn’t accept that answer either. This is what it tells me:

** // running tests You should use an

a

selector. Your

a

element should have a

color

of

black

. // tests completed**

You dont need to add visited to the anchor tag. Your original code in the your first post should pass the challenge. Try resetting and refreshing the challenge and the pressing the check the code button again. If that doesnt work then make sure you dont have any browser extensions like ad blocker or dark mode running when you submit the challenge. Lastly, you can try the challenge on a different browser and see if that works

1 Like

It took me having to try it through a different browser. Thank you very much for the help!

1 Like

Thank you again for your help!

1 Like

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