I tried thousand times and still its not working any help?

Tell us what’s happening:

Your code so far


<!--Hello World</h1>

<h2>CatPhotoApp</h2>

<p>Hello Paragraph//-->

Your browser information:

Your Browser User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_5) AppleWebKit/603.2.4 (KHTML, like Gecko) Version/10.1.1 Safari/603.2.4.

Link to the challenge:
https://www.freecodecamp.org/challenges/comment-out-html

The test is asking you to comment out the <h1> and the <p> tags; currently you have a comment around your entire code. To comment out just the <h1>, you would do:

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

Give that a try, and apply the same treatment to the <p> tag.

<h1>Hello World</h1>

<h2>CatPhotoApp</h2>

<p>Hello Paragraph</p>

Given the code above, comment out the h1 and p elements.

Hints:

Anything between <!-- and --> will be commented out.

Comment tags can span multiple lines - you can technically comment out a whole web page with one pair of tags.

You need two pairs of comment tags to complete this challenge.

Happy coding :slight_smile:

1 Like