How to solve this problem

Tell us what’s happening:

Your code so far



<body>
    <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 scratched sunbathe, shed everywhere rip the couch sleep in the sink fluffy fur catnip scratched.</p>
</body>

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 6.3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.99 Safari/537.36.

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

Need to add mention all tags thats it.

1 Like

According to the question you have to wrap the paragraph elements in the main tag element.
HTML5 features <main> tag to display the main content of the webpage.

<main>
<p> paragraph in main</p>
</main>

Hope it helps

1 Like

please show me practically how to do it…

Hey Khirul,
The challenge says you need two p tags inside a main tag.
So what you have done properly is having 2 p elements.
Now consider that there are two tags “x” and “y”,
when a challenge says wrap tag “x” inside tag “y”.
You just have to include “x” inside of “y”.
Something Like this:

<y><x>  </x></y>

Now try solving the challenge.
Hope it helps.

thank you for helping me solve my problem