Introduction to HTML5 Elements help needed

Introduction to HTML5 Elements help needed
0

#1

Tell us what’s happening:

Your code so far


<h2>CatPhotoApp</h2>


<main>Kitty ipsum dolor sit a met, shed everywhere shed everywhere stretching attack your ankles chase the red dot, hairball run catnip eat the grass sniff.</p>
<main> purr jump eat the grass rip the couch scratches unbthe, 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/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/


#2

It’s illegal to have html element start as one and end as another.

So what you have here is illegal. Make sure your 2 pargraphs have p tags to start then surround them with main tag. For ex.

<main>
<p>asdf</p>
<p>qwer</p>
</main>

#3

OK got it but I didn’t know it was illegal, I’ll try to learn more about it but thanks for that info. :slight_smile: