Step 15 of the CatPhotoApp

Your anchor (a ) element should have a closing tag. Closing tags have a / just after the < character.
I’ve tried several different ways as suggested in other forum discussions to no avail. I’ve been stuck for a whileI’ve been stuck on step 15 of the cat photo app for a bit after multiple attempts and searching other forum posts now.

Your code so far

<html>
  <body>
    <main>
      <h1>CatPhotoApp</h1>
      <h2>Cat Photos</h2>
      <!-- TODO: Add link to cat photos -->
<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>
    </main>
  </body>
</html>

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/106.0.0.0 Safari/537.36

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

Link to the challenge:

Your element is missing a closing >

1 Like

this img element used to have a > at the end. please add it back

1 Like

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