Cant figure out what I did wrong

Tell us what’s happening:
I keeps telling me that my code is incorrect. I have watched the get help video multiple times. Follow the video step by step. Keep getting the same result. This is what comes up as the error; You should have 2 p elements with Kitty Ipsum text.

Each of your p elements should have a closing tag.

Your p element should contain the first few words of the provided additional kitty ipsum text .

Your code should have one main element.

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

<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>
<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 11_2_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.192 Safari/537.36.

Challenge: Introduction to HTML5 Elements

Link to the challenge:

You code doesn’t have any p tags or a main tag. The directions are (I’m paraphrasing):

  1. Create a second p element underneath the one already there.
  2. enclose both p elements inside a main element.

All your elements (p tags and the main tag) should have opening and closing tags.

You may want to reset the lesson and begin again.

Hope this helps.

Hello! Welcome to the community :grin:!

I tested your code and it seems to work (it passed the test) so, can you test the code on a different browser and/or disabling all your plugins? The plugins may be interfering with the tests.


I’ve edited your post for readability. When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.

You can also use the “preformatted text” tool in the editor ( </> ) to add backticks around text.

See this post to find the backtick on your keyboard.
Note: Backticks (`) are not single quotes (’).