Learn HTML by Building a Cat Photo App - Step 17

Tell us what’s happening:

Hello ,I Am not able to understand What exactly I need to do here , As they said I have to add new section, I have added that but something is wrong please explain

Your code so far

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

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/127.0.0.0 Safari/537.36 Edg/127.0.0.0

Challenge Information:

Learn HTML by Building a Cat Photo App - Step 17

Hi @shraddha_1998!

You want to add a new <section> below the one at the start of the exercise. Right now, you have <section> wrapped around the other <section>.

I hope this helps you. Happy Coding!

you mean After main tag?

start of the exercise means? @ablairmorris after main?

No. You want a new <section> AFTER the <section> at the start of step 17 exercise.

At the start of the step you had something resembling the following:

<section>
  <h2>...</h2>
  <!-- ... -->
  <p> ... </p>
  <a href="..."> ... </a>
</section>

So the instructions wants a new <section></section> after this block.

I hope this helps. Happy Coding!

Now I Got it !!! Thank You so much.

1 Like