Hover state of an anchor tag

Tell us what’s happening:
Describe your issue in detail here.
I didn’t make it to this point:
“The anchor tag color should remain black, only add CSS rules for the :hover state”

  **Your code so far**

<style>
a:hover {
  color: blue;
}



</style>
<a href="https://freecatphotoapp.com/" target="_blank">CatPhotoApp</a>
  **Your browser information:**

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.110 Safari/537.36

Challenge: Adjust the Hover State of an Anchor Tag

Link to the challenge:

You deleted the style that was already there to make anchor tags black.

The starter code had:

  a {
    color: #000;
  }

You removed that - you should have left that, that told to color it black (#000). You should ad your a:hover after that - there should be both.

So where exactly should I place a:hover ?

Nevermind, I did it. Thank you!

1 Like