Introduction to HTML5 Elements - Main wrap

Introduction to HTML5 Elements - Main wrap
0.0 0

#1

Tell us what’s happening:

Error message

// running test
The opening main tag should come before the first paragraph tag.
The closing main tag should come after the second closing paragraph tag.
// tests completed

Your code so far


<h2>CatPhotoApp</h2>

<Main>
<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>
</Main>

Your browser information:

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

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


#2

Hi @jkb38,

Your solution is right, try to remove your solution and put this solution, sometimes space make the example not solved.
Solution:

<h2>CatPhotoApp</h2>
<main>
<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>
</main>

Hope this help you, good luck my friend.

Regards,
Ali Mosaad


#3

Thanks Ali! I removed the capitalisation on Main and it worked


#4

That’s great @jkb38, good luck my friend and have a happy coding :slight_smile: