Adjust the Hover State of an Anchor Tag- whats the problem?

Tell us what’s happening:

Your code so far


<style>
  a:hover {
    color:blue;
  }
  
  
  
</style>
<a href="http://freecatphotoapp.com/" target="_blank">CatPhotoApp</a>

Your browser information:

User Agent is: Mozilla/5.0 (Linux; Android 7.1.1; XT1562 Build/NPD26.48-24-1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.111 Mobile Safari/537.36 OPR/46.3.2246.127744.

Link to the challenge:
https://learn.freecodecamp.org/responsive-web-design/applied-visual-design/adjust-the-hover-state-of-an-anchor-tag

Hey look This happens because of you just add Hover state into Previous code .

you need write like this

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

Thanks for your concern , it’s really helpful for my further code,. HAPPYY CODDINGG