`To wrap an HTML element around other HTML element(s)`

`To wrap an HTML element around other HTML element(s)`
0

Tell us what’s happening:

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>

<main>
<p>Purr jump eat the grass rip the couch scratched sunbathe, shed everwhere rip the couch sleep in the sink fluffy fur catnip scratched.</p>
</main>

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.87 UBrowser/7.0.185.1002 Safari/537.36.

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

You have to wrap both paragraph tags inside the main tag.

Hi,

Yes, @anasansari157 is right.

For now you have something like:

<p> ... </p>

<main>

<p> ... </p>

</main>

In order to complete the lesson you have to wrap into main tag both paragraphs:

<main>

<p> ... </p>

<p> ... </p>

</main>
1 Like