Some one pls help me out

The step is commenting out and i have followed every instruction. But it keeps showing p element should be commented out and to add this ––> at the end of each comment. I cant find what i hv done wrong. Someone pls help me out. Here is my code-

<!––<h1>Hello World</h1>––>


<!––<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 (Linux; Android 5.1; HUAWEI TIT-AL00) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.210 Mobile Safari/537.36.

Challenge: Comment out HTML

Link to the challenge:

Try making the comment on two lines. // is to comment a single line, while this exercise deals with multi line comments.


When I copy-paste your answer into the challenge, it seems that the dashes you use are not working. If I overwrite your dashes with “-” it passes the challenge.
I don’t know what your keyboard layout is or how to create the correct dashes, but try to hold down alt when clicking your keyboard.
(If you already hold down alt when clicking, try without doing that!)

See the following two dashes for the difference between the ones you use and the correct ones:
'– ← your dash
'- ← correct dash
Do you see the difference? (Don’t mind the apostrophes)

Hope it helps :slight_smile:



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.

I believe you’re suppose to use <!- -

What’s this extra opening comment tag doing here?

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