Tell us what’s happening:
how to comment html
Your code so far
<!-->this is my</h1-->
<h1>Hello World</h1><!--this is fun-->
<h2>CatPhotoApp</h2>
<p>Hello Paragraph</p>
-->
Your browser information:
Your Browser User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/62.0.3202.94 Safari/537.36.
Link to the challenge:
Comment out your h1 element so that it is not visible on your page
Comment out your p element so that it is not visible on your page
how to do these two points
Comments start with <!-- and end with -->
These should be around the things you want to comment out.
i did but still showing two erors
You comment out the h1 like so:
<!--<h1>Hello World</h1>-->
so how to do it wil you write me plzz
I already showed how to do it for the h1, you need to do that and also do something very similar for the p tag.
Sometimes it helps to have a blank after <!-- and another blank before -->.
Comment out your p element so that it is not visible on your page
Comment out your h1 element so that it is not visible on your page
i finding these erors
Try this:
<!-- <h1>Hello World</h1> -->
CatPhotoApp
<!-- <p>Hello Paragraph</p>–>
Don’t comment out <h2> </h2>
We can do this by changing the style of your h2 element
how to do this one help me
our h2 element should be red how to do this
<h2 style="color: blue;">Hello World</h2>
alternatively
<style>
h2 {
color: blue;
}
</style>
<h2>Hello World</h2>