Learn HTML by Building a Cat Photo App - Step 15

Tell us what’s happening: I keep getting stuck on this line, I’ve tried everything I can possibly think of and I cant get past it. The error I keep getting is “You are missing a closing (a) tag after the image.”

I have no idea what that means or how to move forward. I’ve attempted to google but no luck there as well.

Describe your issue in detail here.

Your code so far

<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 -->

      <p> See more <img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg">link to cat pictures </a> in our gallery.</p>
      <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/119.0.0.0 Safari/537.36 Edg/119.0.0.0

Challenge Information:

Learn HTML by Building a Cat Photo App - Step 15

Turn the image into a link
Linking Image in HTML: How to create links from images

1 Like

An opening tag begins a section of page content, and a closing tag ends it. For example, to markup a section of text as a paragraph, you would open the paragraph with an opening paragraph tag

and close it with a closing paragraph tag

(closing tags always proceed the element with a / ).

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