Learn HTML by Building a Cat Photo App - Step 15

i have no idea how to do step 15. please help me

<html>
  <body>
    <main>
      <h1>CatPhotoApp</h1>
      <h2>Cat Photos</h2>
      <!-- TODO: Add link to cat photos -->
      <p>See more <a target="_blank" href="https://freecatphotoapp.com">cat photos</a> in our gallery.</p>

<!-- User Editable Region -->

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

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

Link to the challenge:

Hi there and welcome to the forum!

You’re not far off the solution.
If you want to turn an image into a link you need to enclose the whole img element (unaltered) inside a pair of anchor tags.
You have followed the img element with anchor tags, but have also lost the closing > from the img element too.
So, move that opening anchor tag so it is before the img element and restore the missing >.

1 Like

Thank you very much. Now i can proceed to the next step. yay