Learn HTML by Building a Cat Photo App - Step 17

Tell us what’s happening:
Why is the code did not pass where in conditions are met. Show correct code.
It is time to add a new section. Add a second section element below the existing section element.
Both section elements should be between the opening and closing tags of the main element.

Your code so far

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

<!-- User Editable Region -->

<main>
  <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>
    <!-- todo: add second section element here -->
  </section>
</main>



  




<!-- 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/115.0.0.0 Safari/537.36

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

Link to the challenge:

Don’t change anything in the first section. Don’t add anything inside of the second section. Don’t add an extra closing main tag. Only add opening and closing section tags.

1 Like

Hey Jeremy You Rocks!.

Just removed the main tags and left only the opening and closing of the section tags.

Thank you my man!!

1 Like

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