Learn HTML by Building a Cat Photo App - Step 6

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

Your code so far

<html>
  <body>

<!-- User Editable Region -->

  <main>
    <h1>CatPhotoApp</h1>
    <h2>Cat Photos</h2>
      <!-- TODO: Add link to cat photos -->
    <p>See more cat photos in our gallery.</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/109.0.0.0 Safari/537.36

Challenge: Learn HTML by Building a Cat Photo App - Step 6

Link to the challenge:

You are asked to indent the p element exactly two spaces, just as what has been done to the h1, h2 and comment, to indicate that 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 p element or by selecting the p element and then press the tab key once.

This is an example of some indented code:

<div>
  <h1>Child 1</h1>
  <p>This is a paragraph</p>
</div>

Here h1 and p are indented and are children of, the div element

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