Etape 17 concernant la photo du chat

comment ajouter un deuxième élément dans la session

CatPhotoApp

Cat Photos

See more cat photos in our gallery.

A cute orange cat lying on its back.
</main>

Welcome to our community!

Post the entire html and css code here. Use the </> button in the editor for that purpose. Always add a link to the challenge.

<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>
      
      
    </main>
  </body>
</html>[Step 17 It is time to add a new section. Add a second section element below the existing section element.](https://www.freecodecamp.org/learn/2022/responsive-web-design/learn-html-by-building-a-cat-photo-app/step-17)

As you can see in the code you already have a ‘section’ element which consists of the opening <section> and closing </section> tags. Within the given section element you have other elements nested. Now your task is just to add a new ‘section’ element, without putting any other element between its tags. Just add another pair of ‘section’ tags after the existing closing </section> tag.

[quote="tchioboris4, post:3, topic:605501, full:true"]

CatPhotoApp

Cat Photos

See more cat photos in our gallery.

A cute orange cat lying on its back.
</main>
[Step 17 It is time to add a new section. Add a second section element below the existing section element.](https://www.freecodecamp.org/learn/2022/responsive-web-design/learn-html-by-building-a-cat-photo-app/step-17) ``` [/quote]

comment ajouter un deuxieme element dans la session

1 Like

Ajoutez la balise d’ouverture <section> et la balise de fermeture </section>, l’une à côté de l’autre, après la balise de fermeture </section> existante dans le code.

1 Like

Before asking your question on the forum, you should first check if the question has not been asked and answered yet. Additionally, you must post the entire code by clicking the closing tag icon “</>” at the top of the comment grid. We are together, welcome!