Problem with to HTML5 Elements

Tell us what’s happening:
I can’t progress beyond this in the Intro to HTML5. I don’t see what I’m doing wrong. I have my subheading and I have my main heading. But the intro won’t let me progress and keeps saying I don’t have my p tags (which I do) and other error messages. I don’t have my main tags which I do. I’ve tried indenting, using p2 as a tag…What am I doing wrong?

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_4) 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

When it says two paragraph elements, it means two times of this <p></p>, you have p2 there, there is no tag as p2, so you can change it as only p at the start and at the end.

Remove <P2 and put <P in place of it and it should work

I like the quick help. I’ll do it!

you welcome . i am a beginner myself

1 Like

Yep that did it. So not intuitive. Thanks bro!

1 Like