Nesting two elements

Tell us what’s happening:
I am trying to indent while nesting two elements but I am unable. I need help.

Your code so far


<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 everwhere 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/83.0.4103.97 Safari/537.36.

Challenge: Introduction to HTML5 Elements

Link to the challenge:

1 Like

I just finished “Basic HTML and HTML5” and tried your code snippet. I have no problem making indentations.
Did you try to refresh your page?

Warning, your second

is written with a capital ‘P’.

indentation is a way to make the code more tidy: just put three spaces at the beginning of the line

indentation is for the sake of humans, and as far as it is useful, nowadays almost any editor will do it for you with a click

instead, try to understand what nesting means, and that coding is case sensitive

one of your tags has the wrong casing

1 Like