Help my Cat image link keeps giving me an error

Tell us what’s happening:
Describe your issue in detail here.
I am trying to make this image linkable but I keep getting the error - and the code seems to be working - what am I doing wrong?

Your anchor (a) element should have a closing tag. Closing tags have a / just after the < character.

  **Your code so far**
  <h2>Cat Photos</h2>
  <!-- TODO: Add link to cat photos -->
  <p>Click here to view more </p>
    <a href=""> <img src="" alt="the cat" </a>


Cat Photos

Click here to view more

<img src="" alt="the cat" ```
  **Your browser information:**

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

Challenge: Step 14

Link to the challenge:

Your img element doesn’t have a end tag(>)
Hope this helps you!

Thanks - I still get the error…

Cat Photos

Click here to view more

alt="the cat"

You have to put the end tag after the alt and its value.
Hope this helps you!

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