Help me comment on the below code

Tell us what’s happening:
Describe your issue in detail here.

Your code so far

<!-—good-—><h1>Hello World</h1>


<!-—bad-—><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_2 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:

You have two different types of dashes. You must only use -, not .

Certain keyboards and operating systems will sometimes ‘helpfully’ insert the wrong dash for you.

It looks like you are using an iPad keyboard. If you do 2 hyphens – it will automatically replace it with an em dash —

It’s pretty hard to tell with the monospace font for code, since they look the same when they are squished to the same width!

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