Introduction to HTML5 Elements-please help me Im struggling with adding main element

Tell us what’s happening:

Your code so far


<h2>CatPhotoApp</h2>

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


Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.90 Safari/537.36.

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

Just follow the instructions. Your HTML should look like this:

<main>
 <p>
    first paragraph is already given
 </p>
<p>
 this is second paragraph. It must contain specified text.
 </p>
</main>
2 Likes

thanks a lot got it … I did not understand the main element thing I learned

you should change your segond p element to h1

1 Like

The main element should have two paragraph elements as children.
I don’t understand two paragraph elements as children.

1 Like

i also struggle with that, everything else is fine but the video or text doesn’t mention the children thing.

1 Like

i found it you have to put both p elements ( the kitty text) in between the main and /main

1 Like