How do i comment out h1 and my p element but not my h2 element not my

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

  **Your code so far**

<h1>Hello World-->

<p>Kitty ipsum dolor sit amet, shed everywh

User Agent is: <code>Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/101.0.4951.41 Safari/537.36</code>

**Challenge:**  Comment out HTML

**Link to the challenge:**

Hello @dumelo welcome to the FCC community.
To comment out a line, you need to use the comment syntax “<!-- -->” to wrap the line you want to comment out and to uncomment, you would have to remove it.

To comment multiple lines you can group them together and start the comment syntax above the first line and place the end of the comment syntax after the last line.


<p>First line</p>
<p>Second line</p>
<p>Third line</p>
All codes above will be commented out...

<p>This line will not be commented out.</p>

Hope this helps, happy coding :+1:!

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