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

<html>
  <body>
    <main>
      <h1>CatPhotoApp</h1>
      <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.">
    </main>
  </body>
</html>

Your browser information:

User Agent is: Mozilla/5.0 (Linux; Android 12; SM-X800) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 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

![16705723750856664282156605150157|376x500](upload://slGD6YS9DNEk8NxqZmnCut1GaP2.jpg

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