Learn HTML by Building a Cat Photo App - Step 15

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

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

Link to the challenge:

I have tried multiple times to solve this and i can’t figure it out

anchor tags only work if you put something in between them.
In this case the img element is what you want to put in between them.

An opening anchor tag on the left of the img (must be syntactically correct)
and a closing anchor tag on the right of the image

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