Learn HTML by Building a Cat Photo App - Step 16

I am stuck on step 16. It asks you to nest your elements in a section element and I can’t figure out what I’m doing wrong 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 (Macintosh; Intel Mac OS X 10_15_7) 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:

Hi @dk678,

Here is a hint: What is the only difference between an opening tag and a closing tag?

Answer that and now double check your code.

Hope this helps.


Double checked my code and it was a simple fix, thanks!

NP and
Hearts always welcome

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