Learn HTML by Building a Cat Photo App - Step 4

Tell us what’s happening:

Describe your issue in detail here.

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

<!-- 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/120.0.0.0 Safari/537.36 Edg/120.0.0.0

Challenge Information:

Learn HTML by Building a Cat Photo App - Step 4

You appear to have created this post without editing the template. Please edit your post to Tell us what’s happening in your own words.
Learning to describe problems is hard, but it is an important part of learning how to code.
Also, the more you say, the more we can help!

hello hope you’re fine!

The comment is supposed to come before your p element!

Hope i was helpful! Happy coding! :+1: :+1:

2 Likes

the structure of a comment in general is <!-- TODO: here you add the text --> . But take a look to your comment, you didn’t write it properly! Try to correct it!

happy coding! :+1:

1 Like

still not getting it!!

First of all your comment in your code is supposed to be above the p tag element <p>See more cat photos in our gallery.</p>

1 Like

Secondly you didn’t write the comment properly <!--- - --- ---- -- --- ---TODO: Add link to cat photos--> Before TODO there are two hypens after the exlamation mark!

1 Like

I think I have it but I am doing something not right

here is the Q
Commenting allows you to leave messages without affecting the browser display. It also allows you to make code inactive. A comment in HTML starts with <!--, contains any number of lines of text, and ends with -->. For example, the comment <!-- TODO: Remove h1 --> contains the text TODO: Remove h1.

Add a comment above the p element with this text:

TODO: Add link to cat photos
I have this ←

TODO: Add link to cat photos.–!>

I GOT IT ALL GOOD THANKS HAHA

2 Likes