Learn HTML by Building a Cat Photo App - Step 17

Tell us what’s happening:

i don’t know how to create new section. Instruction not clear

Your code so far

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

<!-- User Editable Region -->

      <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> <a/section>

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

Challenge Information:

Learn HTML by Building a Cat Photo App - Step 17

you created a section well

this is extra code that should be removed

I want to add new section below section i have made

then you need to write the closing tag correctly

How to do that? can you show some example. Thanks

do you ever write something before the slash in a closing tag?

Nope. The tutorial only ask me to make a new section

so do not write a before the slash in the closing tag abd you have a proper closing tag

It worked! Thank you very much

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