how to create the p element

Tell us what’s happening:
Describe your issue in detail here.

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

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.5 Safari/605.1.15

Challenge: Step 4

Link to the challenge:

you want to place the comment above p element. that’s it. No need to replace anything with the comment.

1 Like

The code does not pass because you have placed the comment inside of a header2. You only need to place the comment.

Remember that comments such as <!--TODO: CHANGE FONT SIZE--> are only visible to the coder, which is you and can be used to clear up your code and keep track of it, or add todo’s in this case. There is no need to place them in a Header2 because nobody who visits the webpage will see them: only you will.

CatphotosApp.

Cat Photos.

Click here to view more cat photos

Thank you and done…I am new and loving it…seen examples on w3schools

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