Introduction to HTML5 Elements

Introduction to HTML5 Elements
0.0 0

#1

Tell us what’s happening:
Can you please let me know whats wrong with the second paragraph code?

Your code so far


<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>
<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 6.1; WOW64; rv:52.0) Gecko/20100101 Firefox/52.0.

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


#2

Hello @sneha.jaishankar !

There is nothing wrong with your paragraphs, in fact they are just perfect :grinning:

The task asks you to add a ‘main’ opening and closing tag(<> and </>)! The first tag should sit above your first paragraph and the closing tag should sit after your last paragraph.

Hope this helps!
Sall x


#3

Thanks Sall… Yeah I did not realize that main was an attribute in itself… Thanks for helping me out :slight_smile: