Build a Cat Photo App - Step 6

Tell us what’s happening:

I am confused about how i should put a opening p tag that should have the same indentation that matches your h2

Your code so far

<html>
  <body>

<!-- User Editable Region -->

    <main>
      <h1>CatPhotoApp</h1>
      <h2>Cat Photos</h2>
      <!-- TODO: Add link to cat photos -->
     <p>Everyone loves cute cats online!</p>
    </main>

<!-- User Editable Region -->

  </body>
</html>

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36

Challenge Information:

Build a Cat Photo App - Step 6

Hi @Jaycodes1 and welcome to our community!

Looking at the code which you’ve posted above, it looks like you need to indent the p element one more space, so that it aligns with the elements directly above it.

It is usual to indent code by two spaces in JS to show the structure (nesting/heirarchy) of your elements. The elements nested inside the main element should all be indented by two spaces to show that they are children of that element.

Maybe delete the space behind the p element then use the tabs key on ur keyboard.

Hi buddy aa here you can see how the h1 and h2 starts from same line same as you need to put the p tag starts from the same start.

This is known as Indentation