Introduction of HTML5 Element

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

  **Your code so far**
  Challenge to the introduction of HTML5 Elements

1.Each of the p element should have a closing tag
2. Your code should have one main element


<h2>CatPhotoApp</h2>.
<main>
<p>Purr jump eat the grass rip the couch scratched sunbathe, shed everywhere rip the couch sleep</p>.
<p>Kitty ipsum dolor sit amet, shed everywhere shed everywhere stretching attack your ankles.</p>
</main>.
<main>
<purr jump eat the grass rip the couch scratched sunbathe, shed everywhere rip the couch sleep</p>.
<Kitty ipsum dolor sit amet, shed everywhere shed everywhere stretching attack your ankles.</p>
</main>.
  **Your browser information:**

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.1 Safari/605.1.15

Challenge: Introduction to HTML5 Elements

Link to the challenge:

There are many errors in your code:

  1. You have 2 main elements, only one main element is required.

  2. The p elements you have added are not properly formatted. The
    main problem is in the opening tag

This is how you make a proper p element:

<p> Some sample text </p>

Your p element currently looks like this:

<Some sample text</p>

You have also used a few dots(.) which is not needed

Hope this helps.

Taking a look at the instructions will also help.

Create a second 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.

Then, create a main element and nest only the two p elements inside the main element.

The instructions tells you to create the p elements which you have done. But you still need to properly open the p element.
You should also create one <main> element and nest two paragraphs (p element) in it.

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