Hi guys. I’ve successfully added the :hover pseudo-class. I’ve also done what it’s asked me to do with regards to changing the colour (UK spelling ) and I think it’s correct, but when I press ‘Run the Tests’, only the former change (adding :hover) passes the test.
I’ve looked at a similar question asked by another user about this exact topic. He was having the exact same problem as me. When he completed the task on his/her IPad, however, it passed. But I don’t have a tablet at the moment, unfortunately. I had a Kindle but it no longer works. What do I do? Can you confirm that my code is correct? Is there a problem with this particular task on freeCodeCamp’s end? Any help would be really appreciated.
I’ve tried everything and I think we’ve both found the right answer, but for some reason this particular lesson won’t ‘run the test’ successfully. I’m using Google Chrome and I can’t think why. I’ve seen another topic in these forums posted by somebody with the same problem. He was able to resolve it by completing the lesson in his Apple IPad.
You have correctly used the hover styling, however, you code is not yet correct to pass the challenge.
I think it might help if I re-write the challenge a bit for you:
Add a rule so that when the user hovers over the a tag, the color is blue.
Do not change any of the code that is already there
<style>
a {
color: #000;
}
// add you hover styling below here
// add you hover styling above here
</style>
<a href="http://freecatphotoapp.com/" target="_blank">CatPhotoApp</a>
Once you add your hover code in the right place above, you should pass all the tests.