Introduction to HTML5 elements running me in circles

Here is my code thus far:


<h2>CatPhotoApp</h2>

<header>

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

</header>

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.

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

Note: Backticks are not single quotes.

markdown_Forums

What do the failing tests say? What different things have you tried?

Thank you.
Failure message reads:
"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."

tried using different tags & indented the paragraphs

change the word header to main

tried that earlier for some reason didn't work. Just did and it let me through. thanks
1 Like