HTML - Add a comment

The challange was: “Add a comment above the p element with the text TODO: Add link to cat photos .” And my code does not pass. Can’t find the problem.

  My code:

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

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

Challenge: Step 4

Link to the challenge:

Look carefully at the highlighted text they want you to write, where it begins and ends.

1 Like

The issue is more along the lines of the extra spacing you have here. Indentation as the previous person mention is important. However, the lessons are not completely strict on indentation but they are strict on exact matches to the text they want you to apply.

1 Like