It is saying that the second section should not be nested within the first section and I have tried my best, but I am stuck

My code over here on step 16 says section two should not be nested by section 1:
I think they are below each other so it should not be called nested.

  **Your code so far**
<html>
<body>
  <h1>CatPhotoApp</h1>
  <main>
    <section>
    <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>
    </section>
  </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/102.0.0.0 Safari/537.36

Challenge: Step 16

Link to the challenge:

You have actually wrapped a new section around the existing section. So you have nested the existing section. The instructions say to “Add a second section element below the existing section element.” A section element starts with the opening <section> tag and ends with the closing </section> tag. So adding a new section below (or after) the existing section means adding the new section after the closing </section> tag of the existing section.

@bbsmooth Thanks a lot it worked

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