Learn HTML by Building a Cat Photo App - Step 4

** my code is not working :**
i need help on step four for [Building a Cat Photo App].

index.htmlEditor

Your code so far

<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</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/116.0.0.0 Safari/537.36

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

Link to the challenge:

“Add a comment → above ← the p element”

You are adding the comment after the p element instead of above (or before) it.

Also, your comment text should be exactly as given in the instructions (don’t add a closing p tag at the end).

While in the index.html tab, you should see the p element occupying line 6.

Don’t touch the p element.

But above the p element is a blank line (line 5). Below the p element is another blank line (line 7).

Enter the comment in line 5. When done correctly, the text color will turn green.

You must enter the angle brackets, exclamation and dashes as shown in the TODO example.

1 Like

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