Uncomment HTML what does it mean:Be sure to delete all trailing comment tags, i.e. -->

Uncomment HTML what does it mean:Be sure to delete all trailing comment tags, i.e. -->
0
#1

Tell us what’s happening:

Your code so far

<h1>Hello World</h1>
<h2>CatPhotoApp</h2>
<p>Hello Paragraph</p>

Your browser information:

Your Browser User Agent is: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.113 Safari/537.36.

Link to the challenge:
https://www.freecodecamp.org/challenges/uncomment-html

0 Likes

#2

If you remove the <!-- from the code, you should also remove its matching --> pair.

0 Likes

#3

image

0 Likes

#4
<!--
<h1>Hello World</h1>

<h2>CatPhotoApp</h2>

<p>Hello Paragraph</p>
>--

now my code is like this hahahha~~~
idk how to handle that~~~

0 Likes

#5

You should just remove the first and last lines.

0 Likes

#6

image

ahhhhhh i m gonna be crazy!!!
is that weird?

0 Likes

#8

From the above example, how will one uncomment it please assist!

0 Likes

#9

All you have to do to comment something out is add <!— —> around the text.
To uncomment you do the reverse. Remove <!—and —>.

0 Likes

#11

Thanks a lot HBA…Got it right, Kindly assist on how to delete a comment

0 Likes

#12

I already explained in the above comment how to uncomment.
You just remove the same characters you added earlier.
So if you have

<!-- <p>hello</p> -->

you just delete those chars so you end up with

<p>hello</p>
0 Likes

Please how to Comment out HTML
#13

Thank you, am getting it right

0 Likes