Commenting out code elements

I’m unable to comment out my p element.

Your code so far


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

<h2>CatPhotoApp</h2>
<!Kitty ipsum dolor sit amet>
<!<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 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.90 Safari/537.36.

Challenge: Comment out HTML

Link to the challenge:

Take another close look on how exactly you comment out something in HTML.
You are trying it like this:
<! Something to comment out>, but you need to add two characters after this <! and also two characters in front of this: >

(btw: If you reset this lesson, everything will be commented out correctly. You can see that something is commented out, if it is green)

Thanks man, I finally got it.

You are missing the -- in all of your comment tags (opening and closing)

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