Comment out HTML not working properly

Comment out HTML not working properly
0

#1

Tell us what’s happening:
It says to make sure to close each comment with —> but it’s not working.

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.
-—>

Your browser information:

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

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


#2

I’m not sure what happened, but if you look closely in each of your comment markers, the second dash is actually not a hyphen but is an em dash or something. (Are you typing in a word processor?) They need to all be hyphens. When I change those, it passes.


#3

It must be a hyphen, i think in apple devices it adds special symbols, you may need to work around with that. -- use hyphens