Help with main test

Tell us what’s happening: Hi there can anyone see anything wrong with this main test i have to do cheers

Your code so far


<h2>CatPhotoApp</h2>

<p>Kitty ipsum dolor sit amet, shed everywhere shed everywhere stretching attack your ankles chase the dot, hairball run catnip eat the grass sniff.</p>
<main>
<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>

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.100 Safari/537.36.

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

Hey @brett1,
You have only one p tag inside main tag.
You’ll have to wrap both p tags on your page inside main tag.
Does this help?

Purr jump eat the grass rip the couch scratched sunbathe, shed everywhere rip the couch sleep in the sink fluffy fur catnip scratched.

it says ‘’ the main element should have two paragraph elements as children’’

Whenever you wish to put code on forum’s post, USE the “preformatted text” button in your
reply window.

type or paste code here

CatPhotoApp

Kitty ipsum dolor sit amet, shed everywhere shed everywhere stretching attack your ankles chase the red dot, hairball run catnip eat the grass sniff.

Purr jump eat the grass rip the couch scratched sunbathe, shed everywhere rip the couch sleep in the sink fluffy fur catnip scratched.

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

You have to put this p tag as well inside the main tag.
Try doing that.

done cheers mate your a legend

1 Like