Trying to comment out HTML but it doesn’t work

Why does this not work. I am trying to comment out h1 and p. But the test says that it is not correct.

Your code so far

<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 (iPad; CPU OS 12_4 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:

Welcome to the forum @Patrick.gundersen!

Take a closer look at your code,

the character after the first dash is not a dash - as it supposes to be.

do you maybe have smart punctuiation active? that will change some of your characters in characters that are illegal in coding, like the long dash - with that the comment tag is not a comment tag and doesn’t work