Comment out code help

Comment out code help
0

#1

Tell us what’s happening:

I cannot seem to get the code right.

Your code so far


<!--Hi,-->
<!--Hello World-->
<h1>Hello World</h1>
<h2></h2>
<!--Need to solve this,-->
<p>Kitty ipsum dolor sit amet, shed everywhere shed everywhere stretching attack your ankles chase the red dot, hairball run catnip eat the grass sniff\n"-->



Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:61.0) Gecko/20100101 Firefox/61.0.

Link to the challenge:
https://learn.freecodecamp.org/responsive-web-design/basic-html-and-html5/comment-out-html


#2

<!-- at the starting and --> at the end makes a line commented, now you shouldn’t remove the text between h2 element,
All you have to do is comment both <h1></h1> element and <p></p> element


#3

Anything within the <!-- and --> tags is commented out. This can include multiple lines as well depending on where the tags are placed within your code.

For example:
If you want to comment out “Hello World”, you will need <!-- before the <h1> tag and --> after </h1>

Read the challenge again to see which elements need to be commented out.


#4

Thanks Sujith3021 and HuskiesBrew for all your help.