Learn HTML by Building a Cat Photo App - Step 19

Tell us what’s happening:

Adding a second section element to an existing section is becoming a challenge. Need help

Your code so far

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

<!-- User Editable Region -->

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

Challenge Information:

Learn HTML by Building a Cat Photo App - Step 19

Hi there. The second section shouldn’t be added inside of the existing section. Rather it should be below it. Happy coding.

1 Like

— removed by mod —

Please write code in only one section. .

1 Like

It is great that you solved the challenge, but instead of posting your full working solution, it is best to stay focused on answering the original poster’s question(s) and help guide them with hints and suggestions to solve their own issues with the challenge. How to Help Someone with Their Code Using the Socratic Method

We are trying to cut back on the number of spoiler solutions found on the forum and instead focus on helping other campers with their questions and definitely not posting full working solutions.

Associate the text Loving with the checkbox by nesting only the text Loving in a label element and giving it an appropriate for attribute.

I don’t know how to go by it

Welcome to the forum @theophilusquanor33

It is time to add a new section. Add a second section element below the existing section element.

Your code nested the first section element in another section element.

For this step you need to place the second section element below the first section element.

Happy coding

that looks to be a different step, please use the HELP button to create a new topic for a new step