Learn HTML by Building a Cat Photo App - Step 19

Tell us what’s happening:

It says to add a second element below the existing element but when I do do that it says the second one shouldn’t be nested. So my question is how do I add the second element without nesting it?

Your code so far

<html>
  <body>
    <main>

<!-- User Editable Region -->

      
      <h1>CatPhotoApp</h1>
        <section>
        <section>
        <h2>Cat Photos</h2>
        <p>Everyone loves <a href="https://cdn.freecodecamp.org/curriculum/cat-photo-app/running-cats.jpg">cute cats</a> online!</p>
        <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 -->

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

Challenge Information:

Learn HTML by Building a Cat Photo App - Step 19

Hello and welcome to the forum community @bestestprogramma!

Good attempt!

Instead of placing the opening section tag above the first one, try placing in before the closing one just added, and after the original closing tag.

I hope this is clear for you to understand.

Wishing you good progress on your coding journey. :slightly_smiling_face:

1 Like