Very confused on step 6 what is it asking me to do

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

  **Your code so far**
<html>
<body>
  <h1>CatPhotoApp</h1>
  <main>      Child element 1 </main> 
  <main>      Child element 2 </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 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.3 Safari/605.1.15

Challenge: Step 6

Link to the challenge:

I think you need to restart the step to get the original code and formatting back, which is important because formatting is the whole point of this step. Do not add anything new to the HTML. Only indent each of the three children of main two more spaces with the space bar on your keyboard.

The question is asking you to indent for readerbility, so just place your cursor before

, <!..> and

elements and press space key from your keyboard two times. That is all and submit. it should look as in below:

Cat Photos

Click here to view more cat photos.

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 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.3 Safari/605.1.15

Challenge: Step 6

Link to the challenge:

You want to indent the three child elements of main. You indent each of them two spaces. It looks like you only indented the first one six spaces.

what is the three child elements of main that’s where I’m lost at I don’t know where to indent my stuff.

A child element is one that is nested inside of another element. That means that it is wrapped or surrounded by the opening and closing tag of another element. So which elements are inside of the main element? In other words, which elements are between the opening <main> tag and the closing </main> tag?

so double space the opening main and closing main?

Here are the instructions:

“Add two spaces in front of the three child elements of main so your HTML is more readable.”

I don’t see anything about changing main tags. Only the three children of the main tag.

so what do I double space ?

I wouldn’t use the term “double space” because it means different things to different people. I think the better term to use is “indent”. Again, this is what the instructions are asking:

"Add two spaces in front of the three child elements of main"

Spaces are created by using the space bar on your keyboard. Adding two spaces means hitting your space bar twice. You do this before each of the three child elements of main.

Also, you might want to click the Restart Step button to get the original formatting back so when you do add the two spaces it is properly indented the correct number of spaces.

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