Tell us what’s happening: stuck on uncommenting tags. This is where I am stuck.
Your code so far
<!--
<h1>Hello World</h1>
<h2>CatPhotoApp</h2>
<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>
-->
<!--Hello World--><!--CatPhotoApp-->
Your browser information:
User Agent is: Mozilla/5.0 (iPad; CPU OS 13_3 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/80.0.3987.95 Mobile/15E148 Safari/604.1
.
Challenge: Uncomment HTML
Link to the challenge:
https://www.freecodecamp.org/learn/responsive-web-design/basic-html-and-html5/uncomment-html
Hi @sedav48, welcome to the freeCodeCamp forum!
Comments start with the character sequence <!--
and end with the -->
character sequence.
If I had the following HTML:
<h1>My Heading</h1>
<p>This is my paragraph.</p>
If I wanted to comment out the header (h1) element I would “wrap” it with the start and end character sequences for a comment, meaning I would add <!--
just before the h1’s start tag and add -->
after the h1’s end tag, as follows:
<!-- <h1>My Heading</h1> -->
<p>This is my paragraph.</p>
I could have put those on separate lines as well:
<!--
<h1>My Heading</h1>
-->
<p>This is my paragraph.</p>
To uncomment the h1 element I would just remove those character sequences, as it was in the original example:
<h1>My Heading</h1>
<p>This is my paragraph.</p>
Hopefully with that explanation it will help you to understand what is needed in that challenge. If you need further hints please post a reply here.
2 Likes