Introduction to HTML5 Elements - Main Tag

Introduction to HTML5 Elements - Main Tag
0

I’ve wrapped my 2 paragraphs with an opening main tag before the first paragraph and a closing main tag after the last line of my second paragraph. I’ve searched for possible answers to my problem but couldn’t find a solution. What am I doing wrong?

When I run the tests this is the results.

// running tests

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/74.0.3729.169 Safari/537.36.

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

the tag should be main, not Main

2 Likes

Oh my goodness. Thank you!