Unable to comment

Tell us what’s happening:
I am not sure why this Is happening .It was supposed to comment out h1 and p tag and leave. H2 tag in between them as it is.But I am unable to do this.
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 12_5_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.1.2 Mobile/15E148 Safari/604.1.

Challenge: Comment out HTML

Link to the challenge:

Aren’t you missing something at the end?

These need to be regular dashes - not

Hi @ayshafaisal64 !

Welcome to the forum!

If you are using a mobile device, the default keyboard does not always play well with the freeCodeCamp editor. I recommend you read the article on using a mobile device to view some tips - most importantly, check out the coding keyboards listed as they interface with the editor well.

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