How to uncomment h1,h2 and p tags

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.1; rv:78.0) Gecko/20100101 Firefox/78.0.

Challenge: Uncomment HTML

Link to the challenge:

this is a content

now making this content to a comment
<!--this is a content-->

so if you want to uncomment this again, what will you do?

2 Likes

thanks for answering but can you give example for how to uncomment and comment. and the que you asked i dont know it

@tweety.17
to understand it follow this:

write this below of all your codes

<h3>Hello  Shrestha</h3>
<h3>Hello Shrestha</h3>

then put your cursor to any line and then press ctrl+/ (ctrl and /) (this will turn your content into a comment)

Now see the difference between the two lines, one with comment, another without comment. (additional marks made your content to a comment)

If you want to remove comment from that line press again ctrl+/ . you also can manually type the comment marks to do it as shown in the difference.

1 Like