Learn HTML by Building a Cat Photo App - Step 17

Please i am at step 17

I a challenge with the step

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

      <section>
        <h2>Cat Photos</h2>
        <!-- TODO: Add link to cat photos -->
        <p>Click here to view more <a target="_blank" href="https://freecatphotoapp.com">cat photos</a>.</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>
    </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/106.0.0.0 Safari/537.36 Edg/106.0.1370.42

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

Link to the challenge:

Hi.
Add a section to separate the current one’s contents and the next contents

this is the first section element (you can see it starts and ends with a section tag)

You are being asked to add a new section element
All HTML elements look the same they have this style:

<element-name>
</element-name>

So just create the section element in this manner

1 Like

Thanks very much for the help

I am having the same problem. The error is: " The second section element should not be nested in the first section element.".

So, I try this and continue showing the same problem.

If you have a question about a specific challenge as it relates to your written code for that challenge, and you’ve tried to solve it at least 3 times so far and still need some help, just click the Ask for Help button located on the challenge (it looks like a question mark).
This button will create a new topic with all code you have written and include a link to the challenge also. You will still be able to ask any questions in the post before submitting it to the forum.

Thank you.

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