Where is the mistake ? Basic HTML and HTML5: Introduction to HTML5 Elements

    <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>

Error messages; 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.

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 easier to read.

Note: Backticks are not single quotes.

See this post to find the backtick on your keyboard. The “preformatted text” tool in the editor (</>) will also add backticks around text.



Hey @pcouch,
Please use the “Ask For Help” button on your challenge page whenever you need help with any challenge. It posts your code properly and also provides the link to the challenge.


aditya_p is correct.

Specifically in this case, the instructions say:

Wrap the paragraphs with an opening and closing main tag.

You’ve wrapped them in a header tag, not a main tag.

1 Like

I just figured out that there is adifference. Thnx. Introduction doesnt mention main, only other elementa like header, section, …

The introduction says:

HTML5 introduces more descriptive HTML tags. These include header, footer, nav, video, article, section and others. [emphasis added]

and then adds:

The main HTML5 tag helps search engines and other developers find the main content of your page.

And then the instructions specifically tell you which one to use:

Wrap the paragraphs with an opening and closing main tag.

Developers need to be very good following very specific instructions.