Introduction to HTML5 Elements i

Introduction to HTML5 Elements i
0
#1

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
Introduction to HTML5 Elements please help
#2

Hi,

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

#3

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

#4

Hi,

It should wrap like this:

<main>
  <p></p>
  <p></p>
</main>
#5

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

#6

Hi,

Could you show your latest code?

#7

Please how do you indent the


Am still not passing that task .

*The main element should have two paragraph element as children

1 Like
#8

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

#9

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

#10

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)

#11

Thank you soo much for your response @ieahleen