Comment out HTML not right

Trying to comment out

and

whilst leaving

uncommented, what am I doing wrong on 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 11_4_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/11.0 Mobile/15E148 Safari/604.1.

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

Oh my, you have a veeeery looong dash.

Here, use this one instead: -

Dont use: –
Use: -

It is subtle, but it is different.

1 Like

Ah thanks, just found the settings on my iPad that turned two consecutive small dashes into a single dash. Embarrassing.
Thank you for the assist:ok_hand:

Watch out for the double quotes too as by default they’re curly and not the plain/straight ones you need for HTML. And the it-looks-like-a-hyphen-but-isn’t character too. It’s shorter than the long dash that tripped you up this time but fractionally longer than a hyphen. iOS auto-complete can be a pain when coding!

Jeez, nice little surprises for me at some stage, then! Thanks for the heads up:ok_hand:

They tripped me up a couple of times too. I learned the hard way, Lol.