Intro to HTML 5 element

Tell us what’s happening:
Describe your issue in detail here.

After running the test I get these messages ,i dont know why ?
The main element should have two paragraph elements as children.

The opening main tag should come before the first paragraph tag.

The closing main tag should come after the second closing paragraph tag.
Your code so far




<main>
<P>Purr jump eat the grass rip the couch</P>


<P> scratched sunbathe ,shed everywhere rip the couch sleep in the sink fluffy fur catnip scratched
</P>

</main>


<main>  
<P>  Purr jump eat the grass </P> 
  
  <p>rip the couch scrathed 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 (Windows NT 10.0; Win64; x64; rv:92.0) Gecko/20100101 Firefox/92.0

Challenge: Introduction to HTML5 Elements

Link to the challenge:

Hi @yugath2009 !
Firstly you don’t have to type the errors, we can see them by pasting code in the challenge. :blush:

  • You have created multiple main elements while only one main makes sense (because it contains main code).

  • There should be only two p elements according to challenge.

  • The challenge is simple, just create another p with text provided and nest both p in the main (remember only one).
    Reset the code and try again!

1 Like

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.