How to to make this a one element?

Tell us what’s happening:

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 everywhere rip the couch sleep inthe 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/68.0.3440.106 Safari/537.36.

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

You’re not properly closing the main element.

can you please help me?

This is at the end of your code. What do you notice about the main tag?

what do you mean? (I’m sorry but i only started, so i’m still in the process of understanding these.)

when you have html elements, the tags come in pairs. Look at the <p> tag and notice how it is eventually followed by a </p> ending tag. For a large number of HTML elements, these tags come in pairs.

So going back to the main elements, I ask you, “have you properly paired a start and ending main tag?”

no, i didn’t ( i can’t reply very short message) so how I should I do this?

I got it alredy I should put / in evry ending

1 Like

Right. However, be aware that some elements don’t require ending tags.

1 Like

oh I see. Thank you for making me realize those

1 Like