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
a2937
March 14, 2025, 1:46am
2
Hi there. The second section shouldn’t be added inside of the existing section. Rather it should be below it. Happy coding.
1 Like
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
Teller
March 14, 2025, 5:40am
8
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
ILM
March 14, 2025, 9:12am
9
that looks to be a different step, please use the HELP button to create a new topic for a new step
Cat Photos
Everyone loves cute cats online!
See more cat photos in our gallery.
But this code doesn`t run anymore
Hi there and welcome. Create your own topic to the challenge step using Help button.
system
Closed
October 17, 2025, 7:06pm
12
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.