Comment on HTML challenge

<!--h1-->
<h1>Hello World</h1>

<h2>CatPhotoApp</h2>

<p>Hello Paragraph</p>
<!--p-->

how do i comment out h1 and p element so that they are not visible on my page.?

I cleaned up your code.
You need to use triple backticks to post code to the forum.
See this post for details.

The parts that you want to comment out need to be between the <!-- and the -->

1 Like
<!--<h1>Hello World</h1>-->

<h2>CatPhotoApp</h2>

<!--<p>Hello Paragraph</p>-->

helpfull?

1 Like

it worked ! Shokran Amjad!