Learn HTML by Building a Cat Photo App - Step 16

Tell us what’s happening:
Describe your issue in detail here. New to this coding thing. I think I’m doing it right or maybe just a typo. Any help?

Your code so far

<html>
  <body>
  
    <main>
       <h1>CatPhotoApp</h1>
     <section>
       <section>
       <h2>Cat Photos</h2> </section>
      <!-- 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 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.4 Safari/605.1.15

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

Link to the challenge:

Welcome to our community!
Please read carefully the instruction: " Take your h2 , comment, p , and anchor (a ) elements and nest them in a section element."
You have nested only one element in a ‘section’ element.

Why is the section inside of the section?

nested only 1?
I was trying to nest them together like I did with the main part. I put all 3 of them didn’t I?

I’ve tried it different ways,
done it

<section>
                </section>

as well

never mind! I got it. there was a typo lol.

2 Likes

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