Learn HTML by Building a Cat Photo App - Step 17

Why my code isn’t working:
I tried so many times but isn’t working.

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

Link to the challenge:

The directions say

Add a second section element below the existing section element.

You are nesting a section inside the other section which isnt what is asked for. You need to add the second section after the ending tag for the first section

Thanks. My english is not so good.

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