Does not work for me not to change the order!

Tell us what’s happening:
Describe your issue in detail here.

Your code so far


--!>
Hello World
-->
<h2>CatPhotoApp</h2>
--!>
Kitty ipsum dolor sit amet, shed everywhere shed everywhere stretching attack your ankles chase the red dot, hairball run catnip eat the grass sniff.
-->          

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99.0.4844.74 Safari/537.36

Challenge: Comment out HTML

Link to the challenge:

Hi @sm8641895 !

Welcome to the forum!

You have some syntax errors in your code so I would reset the lesson.

This is how to comment out html code.

<!--<p>I am commented out</p>-->

Follow that basic structure and apply that to your h1 and p tags.

Hope that helps!

First thing thank you very much!
But if I do what you wrote it writes me have to respond to your component !!

Let’s Review what Jessica Said…

Let’s look closely at the structure and the direction of the Comment Tags

We Begin with:
<!--

And we end with
-->

THE ANSWER THAT WAS INPUTTED:



--!>
Hello World
-->
<h2>CatPhotoApp</h2>
--!>
Kitty ipsum dolor sit amet, shed everywhere shed everywhere stretching attack your ankles chase the red dot, hairball run catnip eat the grass sniff.
-->

Do you notice what direction these are going in?

If you have updated your code, Go ahead and paste it in, to be re- reviewed.

I wanted to show you the general structure of how to use comments tags since that is what you are missing in the concept. You are not supposed to change the content that was there. The lesson wants you to wrap comment tags around your code.

Here are some more example of commenting out code.

<!--<h1>I am commented out</h1>-->
<!--<div>I am commented out</div>-->
<!--<main>I am commented out</main>-->

All of those examples follow the same structure where you wrap the comment tags around your html elements.

Make sense?

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.