Learn HTML by Building a Cat Photo App - Step 17

Tell us what’s happening:

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

Your code so far

<html>
  <body>
    <main>

<!-- User Editable Region -->

      <h1>CatPhotoApp</h1>
  <section><section>  
        <h2>Cat Photos</h2>
        <!-- TODO: Add link to cat photos -->
        <p>See more <a target="_blank" href="https://freecatphotoapp.com">cat photos</a> in our gallery.</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>
    <body>
    <main>
      </html>

<!-- User Editable Region -->

    </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/128.0.0.0 Safari/537.36

Challenge Information:

Learn HTML by Building a Cat Photo App - Step 17

do you have a question about nesting?
A nested element is one which is fully placed inside another. Like this:

<p>The start of a nested element
  <span>looks like this, as this span is nested</span>
  Inside this paragraph element.
</p>

But if you didn’t want to nest then you would rewrite the above like this:

<p>A paragraph element</p>
<span> and a span element </span>

(notice the location of the opening and closing tags of each element )

Hi. It has not asked you to nest the 2nd section element. You need to place the opening and closing tags of the second section after the first section. I suggest you reset the code to how it was and then add the new section element after the existing one