Html main - What is wrong with my answer?

<main>

<h2>CatPhotoApp</h2>

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

// running tests The opening

main

tag should come before the first paragraph tag. // tests completed

–> What am I not understanding? I have main on line 1 and

on line 4.

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 (’).

you have the opening tag before the h2 instead of before the p

I don’t understand. MAIN is on line 1; P is on line 4. 1 comes before 4.

the tests are checking for a main tag followed by a p tag

Oh, does ‘followed by’ actually mean something like ‘immediately followed by’ or ‘after it on the same or next line’?

they need to be one after the other

the h2 element should not be included in the main element