How to: Uncomment HTML

How to: Uncomment HTML
0.0 0

#1

I passed this section once by guessing and went on to the next section to "uncomment two but not a third.
Not sure what to put in between or where to put them…??? Help Please!!!

Scott

Your code so far



<h1>Hello World</h1>
<!--uncomment-->
<h2>CatPhotoApp</h2>
<!--uncomment-->
<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>
<!--uncomment-->

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.99 Safari/537.36.

Link to the challenge:
https://learn.freecodecamp.org/responsive-web-design/basic-html-and-html5/uncomment-html


#2

so if you have this:

<p> this is a paragraph  </p>

and you want to comment it out then

<!--
<p> this is a paragraph </p>
-->

Hope this helps


#3

How do I comment and leave it in?


#4

Hi,
I think that’s what you need

<!--
<h1></h1>
<h2></h2>
-->
<p></p>

#5

“commenting something out” means removing the code from the execution.
Uncommenting means returning the code back to the execution.

I beli.eve this challenge asks you to uncomment. So just remove the <!-- symbol and the --> symbol


#6

I just started this site. So far it’s all guess work. Can you recommend a good book that explains HTML and CSS code? Without breaking any site rules of course.
Scott


#7

I’ve seen a lot of people recommend this one. Never read it myself.


#8

I’m not much of a book person… (too boring) but if you want to try something else:

This is a video series that is aimed at school kids but should still give you a nice introduction.

edit: hmm that link didn’t work , trying again: https://www.khanacademy.org/computing/computer-programming/html-css/intro-to-html/v/making-webpages-intro


#9

Thanks hbar1st. Very helpful.