Basic HTML and HTML5 - Introduction to HTML5 Elements

Tell us what’s happening:
Describe your issue in detail here… I am trying to indent (wrap) my 1st and 2nd p elements in the main element and I’ve not been able to succeed so far.

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 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/106.0.0.0 Safari/537.36

Challenge: Basic HTML and HTML5 - Introduction to HTML5 Elements

Link to the challenge:

In the exercise they explain about indentation and show you an example


<main> 
  <h1>Hello World</h1>
  <p>Hello Paragraph</p>
</main>

Notice how the lines inside the two main tags are indented two spaces to the right?

Make sure you do the same.

1 Like

Hi, sorry to disturb you. That is my exact challenge. I have tried doing that but I end up scattering the entire thing. How do i indent successfully?? Thanks a lot for your time.

please show me your attempt so I can give you some feedback.