Learn HTML by Building a Cat Photo App - Step 17

Tell us what’s happening:
I am stuck in this step. its telling me to add another section element below the existing section element. I did that , but it keeps telling me it’s wrong.

Your code so far

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

<!-- User Editable Region -->

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

<!-- User Editable Region -->

    </main>
  </body>
</html>

Your browser information:

User Agent is: Mozilla/5.0 (X11; CrOS aarch64 14695.107.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.0.0 Safari/537.36

Challenge: Learn HTML by Building a Cat Photo App - Step 17

Link to the challenge:

Don’t make another post on the same topic!
As I said, the section element has the opening <section> and the closing </section> tags. You have just wrapped all in the new section element. It is not so complicated. At the end of the existing code in this challenge add both tags together.

:man_facepalming: i still don’t get it

If you have to add an html element, add both, the opening and closing tags of that element together:

<element></element> That is all you have to do

‘element’ here is called ‘section’.

Hello buddy!

In this your challenge, you’re required to add a section element bellow the existing section element.
Not: it said below the existing section element.

Reset your code and do the required, remember not to add anything else.


Do you mean this?
Please tell me exactly what to do…I’ve been stuck here for over a day now.

Screenshot 2023-03-03 2.59.52 PM
This??

The new section element should come after the closing </section> tag of the existing section element.

An element includes both the opening and closing tags.
Eg: <element>...</element>

Reset your code and add a new section element below the existing section element.

1 Like

oh it just worked!!!
Thank you so much :ok_hand:

1 Like

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.