Learn HTML by Building a Cat Photo App - Step 16

Tell us what’s happening:
cant figure out how to make sections

Your code so far

<html>
  <body>
  
    <main>
      <h1>CatPhotoApp</h1>
      
    <section>  <h2>Cat Photos</h2> </section>
     <section> <!-- TODO: Add link to cat photos --> </section>
      
     <section><p>Click here to view more </section> <section><a target="_blank" href="https://freecatphotoapp.com">cat photos</a>.</section> </p> 
    
  <section><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 (X11; Ubuntu; Linux x86_64; rv:107.0) Gecko/20100101 Firefox/107.0

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

Link to the challenge:

Please click the reset button.

After that, add a section opening tag on the line above the h2
And a section closing tag on the line below the anchor element.

1 Like

figured it out last second, but thanks!

1 Like

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