Learn HTML by Building a Cat Photo App - Step 4

Tell us what’s happening:

Hi Im new and I dont know what im doning wrong it just says
“Your comment should be above the p element. You have them in the wrong order.”

Your code so far

Everyone loves cute cats online!

<html>
  <body>
    <h1>CatPhotoApp</h1>
    <h2>Cat Photos</h2>
 
 

<!-- User Editable Region -->

    <h2><!--TODO: Add link to cat photos--></h2>
    <p>Everyone loves cute cats online!</p>

<!-- User Editable Region -->

  </body>
</html>

Your browser information:

User Agent is: Mozilla/5.0 (X11; CrOS x86_64 14541.0.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36

Challenge Information:

Learn HTML by Building a Cat Photo App - Step 4

Hi there and welcome to the FCC forum. You added your comment within the h2 element, it’s not asked in the challenge instructions.

1 Like

Hi there, first of all the instructions says:
Add a comment above the p element with this text:

TODO: Add link to cat photos
you did that correctly, but it isn’t meant to be a content inside the h2 element. Therefore, I’ll advise deleting just the opening and closing h2 tags, nothing more

Hope this helps, Goodluck!!

1 Like