Learn HTML by Building a Cat Photo App - Step 15

You are missing a closing (a ) tag after the image.
it say this how to fix it

<html>
  <body>
    <main>        
      <h1>CatPhotoApp</h1>
      <h2>Cat Photos</h2>
      <!-- TODO: Add link to cat photo -->
      <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." width="400"  height="400" </img> </a>
      
      <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/120.0.0.0 Safari/537.36 Edg/120.0.0.0

Challenge Information:

Learn HTML by Building a Cat Photo App - Step 15

Hello and welcome to the community :smiley:!
Your a tags should nest your img element to turn it into a link. Also make sure to close your a opening tag before the content between both tags.
Ex:

<a href="">Put your image element here</a>

You might find this article helpful as well:

Happy coding!

1 Like

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