Learn HTML by Building a Cat Photo App - Step 17

Tell us what’s happening:

my first section element cant be nested in the second one

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>
    
  
      

<!-- User Editable Region -->
emphasized text
    </main>
  </body>
</html>

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:109.0) Gecko/20100101 Firefox/109.0

Challenge Information:

Learn HTML by Building a Cat Photo App - Step 17

exactly, nesting them is wrong, you need to put one after the other instead

right now your section element is nested in the old one.

This code has nested an h2 and a p and an a element all in a section element which is itself nested in a section element.

Move the new section element so it is all by itself (opening tag and closing tag) on a line after the old section element’s closing tag.