Learn HTML by Building a Cat Photo App - Step 4

I dont know how to do it.
Describe your issue in detail here.

I am up to Step 4 and i dont understadn how to do it

<html>
  <body>
    <h1>CatPhotoApp</h1>
    <h2>Cat Photos</h2>
    <p>Click here to view more cat photos.
  </p> TODO:Add link to cat photos<p>
    
  </body>
</html>

Your browser information:

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

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

Link to the challenge:

In this challenge, you have to add a comment above the existing <p> tag.

You’ve added another <p>, which is not required.

CatPhotoApp

Cat Photos

Click here to view more cat photos.

CatPhotoApp

Cat Photos

Click here to view more cat photos.

TODO:Add link to cat photos

Sorry i added 2. Is that correct?

Can you post your current code?

Ok I will post my current code

(post deleted by author)

image

Yes, the comment syntax is correct, but you have to add it above the <p> tag.
Also, you removed the closing </p> after photos. Make sure to add it again.

You can use the preformatted text (</>) option in the editor to post your code the next time.

image

Right, the green text you see is the comment. The comment has to be above <p>Click here to view more cat photos.</p>.

It is above that code. As you can see on the top it says 5 but it still doesnt work

Now you have 2 comments in the code. Delete the second comment.
Also, make sure to add </p> after photos., to close the <p> element.

which “photo” do i ahve to put the

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