Build a Cat Photo App - Step 17

Tell us what’s happening:

A cute orange cat lying on its back.

The task is to make the image a link and this is my code that it says does not have a closing tag which clearly does and the link works . Is this not what it is asking for or am I misunderstanding the instructions? There seems to be many posts on this particular task and I can’t find anything that matches my issue.

Your code so far

<html>
  <body>
    <main>
      <h1>CatPhotoApp</h1>
      <h2>Cat Photos</h2>
      <p>Everyone loves <a href="https://cdn.freecodecamp.org/curriculum/cat-photo-app/running-cats.jpg">cute cats</a> online!</p>
      <p>See more <a target="_blank" href="https://freecatphotoapp.com">cat photos</a> in our gallery.</p>
     <a href="" <img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg" alt="A cute orange cat lying on its back.">

<!-- User Editable Region -->

       <a href="https://freecatphotoapp.com">
       <img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg" alt="A cute orange cat lying on its back.">
       </a>

<!-- User Editable Region -->

    </main>
  </body>
</html>

Your browser information:

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

Challenge Information:

Build a Cat Photo App - Step 17
https://www.freecodecamp.org/learn/full-stack-developer/workshop-cat-photo-app/step-17

you have extra code that ended above the instructions

1 Like

thanks, though I don’t know how that happened.

1 Like