Help me, I can't add a new section. Add a second section element below the existing section element

Tell us what’s happening:
Describe your issue in detail here.

  **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/605.1.15 (KHTML, like Gecko) Version/15.5 Safari/605.1.15

Challenge: Step 16

Link to the challenge:

You don’t need to surround the section element on another. You only need to add it below the other section element.

2 Likes

Thanks for the reply mate, I’m trying this but no clue so far

<html>
<body>
  <h1>CatPhotoApp</h1>
  <main>
    <section>
      <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>
  </main>
</body>
</html>

You’re not supposed to put it inside, also. Do you see the first closing tag of section? </section>

Create another section element below that.

<section>
  <!-- content -->
</section>
<!-- create new section element here -->
4 Likes

Got it, Thank you for your help!

2 Likes

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