Your h2 element should be below the main element's opening tag and its opening tag should start 6 spaces over from the start of the line.

Tell us what’s happening:
Describe your issue in detail here.

  **Your code so far**

<html>
<body>
  <h1>CatPhotoApp</h1>





  
  <main>
  <h2>Cat Photos</h2>
  <!-- TODO: Add link to cat photos -->
  <p>Click here to view more cat photos.</p>
  </main>
</body>
</html>
  **Your browser information:**

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

Challenge: Step 6

Link to the challenge:
.freecodecamp.org/learn/2022/responsive-web-design/learn-html-by-building-a-cat-photo-app/wwwstep-6

Hello there.

Do you have a question?

If so, please edit your post to include it in the Tell us what’s happening section.

Learning to describe problems is hard, but it is an important part of learning how to code.

Also, the more information you give us, the more likely we are to be able to help.

You have made a mistake over here.
You are asked to indent the h2 element, the comment, and p element exactly two spaces to indicate they are children of the main element.

Since you have made some changes, I recommend you to click restart step.

Then, You can do the challenge by adding two spaces before the elements
or, by selecting the h2 element, the comment, and p element and then pressing the tab key once.

8 Likes

thank you so much, it helps a lot

The confusion here for me was it said i needed to “indent” twice; which to me meant pressing the “tab” button twice. I was stuck on this for so long, before i realized 2 indent spaces are just to space bar spaces; not an actual tab indentation.

Me too, Thank you for being so helpful. I was stuck on this step for a long time.

Your h2 element should be below the main element’s opening tag and its opening tag should start 6 spaces over from the start of the line.

thanks, I had the same problem too and it helped.

this stuff is not clear yet :disappointed_relieved:

Thank you. It helps me a lot

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.