Learn HTML by Building a Cat Photo App - Step 17

Tell us what’s happening:

In challenge 17, I’m supposed to add another section under the section name and I tried three different approaches. (It seems like a simple test but this has been stumping me)
First Approach:
I put right under the first element. Result: I got an error.
Second Approach: I put the in the middle of the code. I got an error.
Third Approach: I put the at the end, next to the element.

I know I’m missing something but I can’t wrap my head around it.

Thank you in advance for your help.

Your code so far


<!-- User Editable Region -->

        <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>

<!-- User Editable Region -->


Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/ Safari/537.36

Challenge Information:

Learn HTML by Building a Cat Photo App - Step 17

Hi @jpccdirect
You’re really close with your code here. Your closing tag for the second section is correctly placed after the first section, but it lacks an opening tag.

Which lacks an opening tag if that makes sense?
At the beginning I have my opening tag at the beginning but maybe I’m misunderstanding. Sorry for being so confused on this.

You have <section></section></section> so you are opening one section, but closing two.
You need to insert another <section> opening tag between your two closing </section> tags to get your second section.

Think of it as two stories of a building. You’ve built the floor and roof for one of them and filled it with interior design, but for your second story you’ve not put in the roof so it’s not ready to design the interior yet.
I hope that made sense to you, it did in my head anyway.

Hey! It worked. That explanation helped a lot. I totally got it. Thank you for explaining the process better. I really appreciate the feedback.

Awesome! Happy coding, man :partying_face: