Comment out HTML 5

Tell us what’s happening:
Lost on yet another one. My brain is a bit fried from trying to remember these, but they are fun to do! :slight_smile:

Your code so far

<h1>Hello World</h1>


<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/71.0.3578.98 Safari/537.36.

Link to the challenge:

You got this one. You know what a comment looks like now. Think about it for a bit, re-read the challenge text, see if you can figure it out.

Just in case you have not noticed it, there are videos you can watch by pressing the “Watch a video” button. They give a spoiler alert so you can press pause if you don’t want the answer given to you.

The videos do not work for me on my laptop, and I’m not sure why. I’m using the Google Chrome browser, but no video will pop up to work.

Comment out your h1 element and your p element, but not your h2 element.

You have learned how to use comments. In this case you have to add the bits necessary to make your h1 and p commented out so that they don’t show un the page to the right, but your h2 not commented so that instead it shows.

Remember that in order to start a comment, you need to use <!-- and to end a comment, you need to use -->


<h1>Hello World</h1–>


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


That’s what I have, but it keeps saying this:

Do not change the order of the h1 h2 or p in the code.

What should I do to revise this?

Do you maybe have smart punctuation active?
You are typing <!– but you need <!--

You have also broken this one <h1>Hello World</h1–>, the closing tag has an extra character
Also this <!–p>Kitty ip

The issue is that the tests are checking exactly for those tags, you have removed them

I don’t know what smart punctuation is to have it active. So, I need to put in:

< !--

Hello World</1> -->


< !--

Kitty ip


in order for it to work?

You are missing the opening tags, the test tells you specifically to not change those

Smart punctuation is a thing that change automatically certain characters to others

Ah, thank you so much! It finally worked! Again, thank you so much, @ilenia! I don’t know where I’d be without help of others on this site. It’s my 3rd day being on here, and I’m having a blast! :slight_smile:

1 Like

Does nothing happen when you click the video button or does the video just not load?

Anyway, here is the list of FCC videos on scrimba, if you scroll down to the bottom you can get the list of videos for the HTML and CSS

Nothing appears when I click the video button. I’ll have to get a screenshot of it to show what it does.

Maybe you have some extension install that is blocking the video from opening. Try running Chrome in a Incognito Window see if the video works then.

Did you try the videos I posted the link to, can you play those videos? Here are the HTML videos as a list.

This is exactly what it shows as for the “Watch A Video” button.

And yes I have tried those videos you posted the link to. They are very helpful.

OK well, then the video is just not loading for you. It might be a bit much to try and troubleshoot it. Did you try using Incognito? You can also try Firefox just as a test.

Anyway, the videos I posted are the exact same as the ones you get when clicking the video button. You just have to find the right one for the challenge. But that shouldn’t be too hard, they should be in the same order and have the same title as the challenges.

They were easy to find. Thank you, @lasjorg, for giving me the link :slight_smile: I’m using the videos for help whenever I need it on these that lessons that I need help with :slight_smile: