Please help to solve query

Please help to solve query
0

#1

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


#2

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:


#3

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


#4

What are you finding difficult? You need to wrap the

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

#5

<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.


#6

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


#7

Thanks …:slightly_smiling_face:
that’s really helpfull