Learn HTML by Building a Cat Photo App - Step 19

Tell us what’s happening:

The step asks me to add a second section below the existing one. When I add it says im wrong and that I need a closing tag. What am I doing wrong?

Your code so far

<html>
  <body>
    <main>
      <h1>CatPhotoApp</h1>

<!-- User Editable Region -->

      <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 (Macintosh; Intel Mac OS X 10_15_7) 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

you also need the closing tag

Hello and welcome to the forum community @irida !

Good attempt!

As stated in the previous post, the <section> element requires both an opening and closing tag.

In this code, you have the opening tag before all the nested code, and the closing tag after all of the nested code. Note: Everything between the opening and closing element tags is considered nested.

This step is asking only that we place the opening and closing tags side by side.

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