Can't indent properly

Can’t figure out how to indent the child paragraph correctly

<main.>
<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.>

Make sure you don’t have periods in your tags.

It should be <main> instead of </main.> same goes for all other tags.

If you think you are not passing because of indentation that’s not true. In HTML indentation plays no role in syntax of the language although it improves readability so you should be using it anyway.

:point_up: yep, the syntax is wrong, that’s not how you write HTML. But w/r/t indentation, just to demonstrate, in a browser, this:

<main>
  <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>

Will render exactly the same even if you wrote the HTML like this:

<main>
  
  
  
<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>

It makes no difference, the broswer doesn’t care, it’ll strip the whitespace out anyway.

(and you indent by using the space bar to add spaces)

1 Like

Hi Guys,

I’m having the same issue too! Would be great if someone could help me! Just started learning today abd am completely lost :frowning:

I’ve attached what I’ve done. Could really do with some help please guys

You need to put both paragraphs between the <main> tags. Right now, you have one in there, and one above it.

1 Like

worked perfectly! Thanks so much for your help :slightly_smiling_face: