Introduction to HTML5 Elements (wraping a paragraph with an opening and closing main tag)

Tell us what’s happening:

Create a second p element after the existing p element with the following kitty ipsum text: Purr jump eat the grass rip the couch scratched sunbathe, shed everywhere rip the couch sleep in the sink fluffy fur catnip scratched. Please how can I wrap the paragraphs with an opening and closing main tag?

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

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; rv:69.0) Gecko/20100101 Firefox/69.0.

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

Hi,

<main> opening tag

</main> closing tag

in order to wrap something in a main tag you have to put it between an opening and closing tag, like below:

<main> YOUR TEXT </main>

so now the text YOUR TEXT is wrapped in the main tag

do you got the idea how to complete this challenge? :slight_smile:

1 Like