Main tag help, i dont know how to finish this program

Tell us what’s happening:
Describe your issue in detail here.
The only thing left for me to do ( The opening main tag should come before the first paragraph tag.) but im not sure what im missing, can anybody help?

Your code so far


<main> <h1>CatPhotoApp</h1>
<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>

Your browser information:

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

Challenge: Introduction to HTML5 Elements

Link to the challenge:

Hello,

The exercise tells you that only the 2 p elements should be inside your Main tags, you also have your h1 element inside. Put it outside and it should work.

2 Likes

You should be inserting the main tag after the h1.
As the line suggests:
The opening main tag should come before the first paragraph tag.


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

It is great that you solved the challenge, but instead of posting your full working solution, it is best to stay focused on answering the original poster’s question(s) and help guide them with hints and suggestions to solve their own issues with the challenge.

We are trying to cut back on the number of spoiler solutions found on the forum and instead focus on helping other campers with their questions and definitely not posting full working solutions.

You can post solutions that invite discussion (like asking how the solution works, or asking about certain parts of the solution). But please don’t just post your solution for the sake of sharing it.
If you post a full passing solution to a challenge and have questions about it, please surround it with [spoiler] and [/spoiler] tags on the line above and below your solution code.

3 Likes

I will take care form now on words

Thank You

1 Like

thank you so much! that helped a lot!

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