Learn HTML by Building a Cat Photo App - Step 4

I had followed the instructions it had given me and put the code on top of the p element but it said it was not in the correct order when it was above the p element can someone tell me what i did wrong?

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

<!-- User Editable Region -->

    
    <p>See more cat photos in our gallery.</p><!-- TODO: Add link to cat photos-->
    

<!-- User Editable Region -->

  </body>
</html>

Your browser information:

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

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

Link to the challenge:

Hello! The instructions state to put the comment before the <p> tag.

Look at where the comment is placed in the code you provided.

1 Like

Welcome to our forum! :slight_smile:

As stated by That-Ty-Guy, it appears that, inadvertently, the comment has not been placed above the p element as the instructions state.
I suggest either highlight, cut and paste it above the p element, or reset and enter it above the p element.
You do have the correct idea. It, somehow, did not enter where expected though.
Happy coding!

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