New: Comment out HTML

New: Comment out HTML
0

#1

Hi guys, i’m stuck in this stage. I need help please :smile:

Your code so far


<h1>Hello World</h1>

<h2>CatPhotoApp</h2>

<!--End-->

<p>Hello Paragraph</p>



Your browser information:

Your Browser User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.113 Safari/537.36.

Link to the challenge:


#2

what are you stuck on?


#3

I am copying and pasting this from your challenge:

“Comment out your h1 element and your p element, but leave your h2 element uncommented.”

You need to enclose the h1 element and the p element in two separate comments. This should leave the h2 element unaltered in any way.

See if you can figure out how to do that.


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

<!--<h2>CatPhotoApp</h2>-->

<p>Hello Paragraph</p>

this should help
commenting out is helpful for other developers reviewing and looking at your code.

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

<!--<h2>CatPhotoApp</h2>-->

<p>Hello Paragraph</p>

#5

I’ve edited your post for readability. When you enter a code block into the forum, remember to precede it with a line of three backticks and follow it with a line of three backticks to make easier to read. See this post to find the backtick on your keyboard. The “preformatted text” tool in the editor (</>) will also add backticks around text.


#6

i was wondering what was going on im new to code camp thanks

<p>Thanks Randell</p>

#7

It’s hard to explain, my English is so poor.

But I’m trying to Comment out your h1 element and your p element, but leave your h2 element uncommented. Unfortunately, I’m stuck cause this message appear: Comment out your element so that it is not visible on your page.


#8

Thank you, I’ll try this