Please help to solve query

Tell us what’s happening:
I didn’t understand where i am doing wrong coding in given task

Your code so far


<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>
<p>Purr jump eat the grass rip the couch scrached sunbathe, shed everywhere rip the couch sleep in the sky fluffy fur catnip scratched.</p>

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0.

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

Hey there, if you read the text on the left again you will see that it asks for a tag around your main content
so surround the p tags with the main tag and you are good to go :slight_smile:

Thanks for your reply…
But still i am not getting ,actually am beginner so its find little difficult to me.

What are you finding difficult? You need to wrap the

<main> </main> tags around your two p tags
1 Like

<p> <-- this is a html tag
You can put html tags inside other html tags.

This challenge tells you to put the <p> tags (which are your main content) inside the <main> tag.

the short answer is do this:

<h2>CatPhotoApp</h2>
<main>
<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>
<p>Purr jump eat the grass rip the couch scratched sunbathe, shed everywhere rip the couch sleep in the sink fluffy fur catnip scratched.</p>
</main>

This means that the main tag is wrapping around the p tags, because the p tags are your main content.

1 Like

Thanks …that’s so essay but i was making difficult .
Now i got it.

Thanks …:slightly_smiling_face:
that’s really helpfull

1 Like

many thanks, very helpful