Everything seems good on paper but what am I doing wrong?

I’ve had a fairly good start in so far as I’ve not ran into major problems until as of now; in my intro introduction to HTML5, I have two main issue which can’t be resolved and I’ve tried everything I can see online. My issues are: My code should have one ‘main’ element, and it has, the ‘main’ element should have two paragraph elements as children, and it has, I tried indenting the paragraphs, didn’t work.

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

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36.

Challenge: Introduction to HTML5 Elements

Link to the challenge:

Hey there,

nice to meet you! :wave:

I’ve edited your post for readability, because it was very hard to read.

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


In the now formatted code, you can see that the tags (e.g. <h2>, <main>) have colors.

One of them has a different color.

This is a good hint that in front of this part there is something wrong. :slightly_smiling_face:

the closing tag for the ending h2 element

1 Like