The opening main tag should come before the first paragraph tag. What is wrong with what I did?

Tell us what’s happening:
Describe your issue in detail here.

Your code so far


<h2>CatPhotoApp</h2>
<main><!--The opening <main> element has been added-->
<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>Kitty ipsum dolor sit amet, 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><!--The closing <main> element has been added-->

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/98.0.4758.81 Safari/537.36

Challenge: Introduction to HTML5 Elements

Link to the challenge:

There is no problem with your code. This exercise requires you to place the <main> element and <p> element next to each other .
Tip: Remove the comment and place them next to each other without leaving any space.

Hope this helped :slight_smile:

Okay, thank you so much! I appreciate the help :sweat_smile:

In this exercise you have to use the mentioned text (Purr jump) in the second p tag, not the one you used in your code.

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.