Learn HTML by Building a Cat Photo App - Step 17

Tell us what’s happening:
How do I add another section to an existing section?

Your code so far

<html>
  <body>
    <main>
      <h1>CatPhotoApp</h1>
      <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>
    </main>
  </body>
</html>

Your mobile information:

Infinix PR652B - Android 11 - Android SDK 30

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

Link to the challenge:

Hi @Angel_7 , you should add closing section tag too

2 Likes