Comment out HTML exercise

Tell us what’s happening:
I dont understand why is it saying
You should not change the order of the h1 h2 or p in the code.
Your code so far


<!--<h1>coment
<h1>Hello World</h1>
-->
<h2>CatPhotoApp</h2>
<!--<p>coment
<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 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99.0.4844.74 Safari/537.36

Challenge: Comment out HTML

Link to the challenge:

Hi @riteshspain !

I would reset the lesson because you have a few syntax errors.

Here is how you comment out an html element.

<!--<p>I am commented out</p>-->

The challenge wants you to take this h1

<h1>Hello World</h1>

and wrap it in comment tags.

And then you need to take this p element

<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>

and wrap it in comment tags.

Hope that helps!

thanks a million I got it was easy :slight_smile:

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