How do I make a comment above (p) element with the text

Tell us what’s happening:
Describe your issue in detail here.
How do I make a comment above (p) element with the text ( todo : add link to cat photo)

  **Your code so far**

<html>
<body>
  <h1>CatPhotoApp</h1>
  <h2>Cat Photos</h2>
 
  <p>Click here to view more 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/101.0.0.0 Safari/537.36

Challenge: Step 4

Link to the challenge:

As the lesson states "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 the text TODO: Add link to cat photos ."

Following this we know that a comment starts with <!-- and ends with -->. So to make a comment to remind us to “do our best” we would write it as <!-- do our best -->.

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