I have no idea why it is not running, I needt to comment h1 and p but leave h2

Tell us what’s happening:

Your code so far


<!--
<h1>Hello World</h1>
-—>
<h2>CatPhotoApp</h2>
<!-—
<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.</p>
-->

Your browser information:

User Agent is: Mozilla/5.0 (iPad; CPU OS 11_0_3 like Mac OS X) AppleWebKit/604.1.38 (KHTML, like Gecko) Version/11.0 Mobile/15A432 Safari/604.1.

Challenge: Comment out HTML

Link to the challenge:

Salam @Zahraahijazi,

There is no problem in your code, the problem might be in your browser.
Try on chrome, or maybe reset your code and try again(worked for me on chrome) .

Good Luck :blush:

1 Like

It looks like some of your hyphens /dashes (-) are m-dashes. These are different characters and m-dashes will not work as part of html comment tags. If you are using an Apple device, it is automatically converting some of your characters to “prettier” versions and you need to turn off “Smart Punctuation”. If you aren’t using a physical keyboard also strongly recommend downloading a coding keyboard app to use for freeCodeCamp, as the default virtual keyboard will continue to cause you problems.

1 Like