Learn HTML by Building a Cat Photo App - Step 15

I am having so much trouble getting past this cn anyone help me discover what is wrong? I’m trying to turn the image into a link.

Your code so far

      <h2>Cat Photos</h2>
      <!-- TODO: Add link to cat photos -->
      <p>Click here to view more <a target="_blank" href="https://freecatphotoapp.com">cat photos</a>.</p>
      <a href="https://freecatphotoapp.com"</a> <img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg" alt= "A cute orange cat lying on its back.">

Your browser information:

User Agent is: Mozilla/5.0 (Linux; Android 12; SM-X800) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/ Safari/537.36

Challenge: Learn HTML by Building a Cat Photo App - Step 15

Link to the challenge:

Put this closing anchor tag after the img tag so that you wrap up the img with a link

1 Like


When I add the at the end I still get an error and I’ve moved it several places. I heard someone mentioned something about removing the original img src , but as I am new to this, I have no clue if that’s correct.

Your screenshot is not visible. Also may you send your latest code with the changes you made?

You are not opening the anchor tag properly. You should add a > before <img tag.

1 Like

Thanks so much!! It worked.

1 Like

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