Learn HTML by Building a Cat Photo App - Step 16

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

Kinda stupid to ask for help at step 16 but i really can’t understand what the problem is here. Ive copyed others code in to mine but the website still dosent allow me to continue.

Is it a typo or should i call the section something? or have i placed it wrong?
The tip says this " Hint

The second section element should not be nested in the first section element.

Dosent say much to me.
Anyone hav a suggestion? :slight_smile:

  **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 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.0.0 Safari/537.36

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

Link to the challenge:

Hey! welcome to the freeCodeCamp’s community forums.

Nesting of elements happen when you put one element inside of another element for example:

<p>
    <button>my button </button>
</p?

in the above example, the button is “nested” inside of the p element and this

is telling you to remove the second section element from inside of the first section element.

Hope this helps! :smile:

Thank you!

I searched it up on youtube after i wrote this post, so i feel kinda stupid now because i just had to put it underneath the previous section.

So now im off to test 17.

But thank you for your answear :slight_smile:

There’s no need to feel stupid. we’ve all been there haha! let us know if you need help with anything else!

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