Learn HTML by Building a Cat Photo App - Step 16

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

Your code so far

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

Your browser information:

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

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

Link to the challenge:

:balloon: Hi, welcome to the forum!
We see you have posted some code but did you have a question?

so I did the opening section right under h1 and then i did the closing section under the paragraph one and keeps saying its wrong and the instructions are pretty vague.

Right now you have nested the p and the h2 elements in the section element. Good job nesting these two things.

You just missed one thing.

Take your h2 , comment, p , and anchor (a ) elements and nest them in a section element.

It seems they also wanted the anchor element too…

It is just so confusing, like I never saw nesting in any of the other previous sections haha…lol I have no clue what and where I do that oh well… just kinda lost

But you are doing it…

If you want to review nesting, look at step 6.

You are just missing one line…

so I looked at 6 and it says to space them over 2 spaces… so ever thing between the first section and closing section I spaced over twice still don’t work. maybe I am confused.

Nesting means putting something inside something.

You have already nested the h2 and the p elements in the section.

You just need to move the closing tag of the section element one line down to include the anchor too.

1 Like

lol okay I figured it out thank you for helping me see it haha

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