Introduction to HTML5 Elements/need help ASAP!

Ok well
I am on wrapping the kitty ilsum texts around a main hader, I’ve tried so many times and it continues to tell me that it’s wrong am I doing something wrong here?

Your code so far


<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 every where rip the couch sleep in the sink fluffy fur catnip scratched. </p> 

</main>

Your browser information:

User Agent is: Mozilla/5.0 (Linux; Android 6.0.1; Z981) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.99 Mobile Safari/537.36.

Link to the challenge:
https://learn.freecodecamp.org/responsive-web-design/basic-html-and-html5/introduction-to-html5-elements/

Hi,

Your starting main tag has instead of <

While the issue is solved, here’s some advice for the next time:

• You can find the typo thanks to the colour, too! FCC makes functional tags slightly red. And if it’s too subtle to notice, just paste the code here/on codepen/in your editor that highlights code (e.g. Notepad++, Atom, Brackets).

• To make sure your code itself is ok, you can run it through any HTML validator. Your code this time would get this message:

“Stray end tag “main”.”

1 Like

Thank you so much I didn’t even notice that…