Learn HTML by Building a Cat Photo App - Step 16

I’ve been stuck on step 16, I’m not quite sure what to do here, I’ve grouped the elements section together, but unsure if I’m using the wrong word or wrong placement.

Your code so far

<html>
  <body>
    <main>
      <h1>CatPhotoApp</h1>
     <main2>
       <section>
      <h2>Cat Photos</h2>
      <!-- TODO: Add link to cat photos -->
      <p>Click here to view more <a target="_blank" href="https://freecatphotoapp.com">cat photos</a>.</p>
      <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> 
      </section>
    </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/107.0.0.0 Safari/537.36 Edg/107.0.1418.35

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

Link to the challenge:

Welcome to the forums! I see you have a “main” element, as well as a “main2” element? I would try deleting the “main2” element and adding the closing tag for your “main” element towards the end of the document.

Edit: Looks like you already have the closing tag for your “main” element. So I would just delete the “main2” element tag.

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