Introduction to HTML5 Elements halp

Introduction to HTML5 Elements halp
0

#1

Tell us what’s happening:

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>
<p2>Purr jump eat the grass rip the couch scratched sunbathe, shed everywhere rip the couch sleep in the sink fluffy fur catnip scratched.</p2>
</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/68.0.3440.106 Safari/537.36.

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

Create a second p element after the existing p element with the following kitty ipsum text: Purr jump eat the grass rip the couch scratched sunbathe, shed everywhere rip the couch sleep in the sink fluffy fur catnip scratched.

Wrap the paragraphs with an opening and closing main tag.


#2

your second paragraph doesn’t need to be p2, it is just p as well.

The headers are a special case and h2 gives different attributes than h1.


#3

There is no such tag as p2 .
Two paragraph tags should be added using 2 p tags:
<p>your content here</p>
<p>your content here</p>


#4

There is no such tag as a “p2”, so, get rid of those and you’re good to go.