Adjust Hover State

I’m doing the part where it says to make the hover state blue and keep the link black. This is what I put in, but it doesn’t work, it says this: The anchor tag color should remain black, only add CSS rules for the :hover state. I watched the video and it appears I’m doing it right. I don’t see any mistakes. What am I missing? Thanks!

a:{ color: #000; } a:hover { color: blue; }

Hi no : before the first a css element, you only put : in front of the pseudo class hover which you have done on the second element. Remove the : from the first element it should work.

Thanks very much for pointing that out to me.

No problem, enjoy your coding journey!

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