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 where am i a making a mistake in addingb the comment

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

Your browser information:

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

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

Link to the challenge:

:balloon: Hi, welcome to the forum!
We see you have posted some code but did you have a question?

Yes am failing to get the the last correct and i dont know where am wrong how to add comment

Add a comment above the p element with this text:

TODO: Add link to cat photos

Click here to view more cat photos.


I do what it says but still it says code is incorrect

Click the reset button to return the code back to its initial state.

The editor will show you this one line of code
<p>Click here to view more cat photos.</p>

You must add an empty line -above- this line of code then write your new comment in that empty line.
Make sure to use the exact sequence of characters to indicate a comment like below
/* comment text in the middle */

The comment text should be exact.

There are a number of problems here:

  1. The comment should come before the p element.
  2. you have more than one opening < and the moment the > closes, that is it. The is no need for extra text after it. It does not require another closing tag too, like <p></p> rather just <> and that is it.
  3. the comment doesnt have anything nested in it

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