Introduction to HTML5 Elements i

Tell us what’s happening:

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>

<main>
<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 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.0 Safari/605.1.15.

Link to the challenge:
https://learn.freecodecamp.org/responsive-web-design/basic-html-and-html5/introduction-to-html5-elements
I tried to indent in between the tags but its not happening

1 Like

Hi,

You have to wrap the main tag around two p elements. Currently it is wrapping only one.

it is covering two p elements one is open other is close

Hi,

It should wrap like this:

<main>
  <p></p>
  <p></p>
</main>

its done but another arised that says opening main tag should come before first paragraph
i dont get it the opening main already before the first paragrapgh

Hi,

Could you show your latest code?

Please how do you indent the


Am still not passing that task .

*The main element should have two paragraph element as children

Tanx man you are a life saver. You made it so simple God bless you.

Any body tell me write answer for P elements after open main

Use the “Ask for help” button so that you will create a thread just for your question with your code and someone will help you giving you some hints (we don’t give answers to copy and paste because we want people to learn things)

Thank you soo much for your response @ilenia