Learn HTML by Building a Cat Photo App - Step 17

Tell us what’s happening:
Describe your issue in detail here.

Your code so far
please where should i add the second section

<html>
  <body>
    <main>
      <h1>CatPhotoApp</h1>
       <section>
       <h2>Cat Photos</h2>
        <!-- TODO: Add link to cat photos -->
        <p>Click here to view more <a target="_blank" href="https://freecatphotoapp.com">cat photos</a>.</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>

Your browser information:

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

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

Link to the challenge:

please someone should tell me what to do

they said to add it below the “existing section element”
The above code block is the “existing section element”
So you should add the new section after it (below the closing section tag)

please can you give me an example
i changed it but its not still working

CatPhotoApp

Cat Photos

Click here to view more cat photos.

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

This is a section element.

Tell us what’s happening:
Describe your issue in detail here.

Your code so far

<html>
  <body>
    <main>
        <h1>CatPhotoApp</h1> 
        <section>
        <section>
        <h2>Cat Photos</h2>
        <!-- TODO: Add link to cat photos -->
        <p>Click here to view more <a target="_blank" href="https://freecatphotoapp.com">cat photos</a>.</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 browser information:

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

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

Link to the challenge:

like this
its not still working

so where should i input it

The instructions say to add the new section element below the existing section.

You have nested the existing section element inside a new one.

(That is not what they wanted. Just redo this step and this time type the section element underneath the code I showed you earlier)

thanks so much ive figured it out

2 Likes