Help me coders!

Tell us what’s happening:

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 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.163 Safari/537.36.

Challenge: Comment out HTML

Link to the challenge:

To comment out begin with <--! and end with -->

When the lesson starts everything is commented out. Nothing showing in the live preview.
From the lesson;
In order to start a comment, you need to use <!-- and to end a comment, you need to use -->
So where would you put --> to comment out the h1 element?

When you do that you’ll see the h2 element and the p element are both uncommented.
Where would you put <!-- to comment out the p element so that the h2 element still is uncommented?

@flamey, I’ve blurred your solution because it’s incorrect

2 Likes