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

      <h2>Cat Photos</h2>
      <!-- TODO: Add link to cat photos -->
      <p>Click here to view more cat photos.</p>

Your browser information:

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

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

Link to the challenge:

i cant really get it right by the statement <Use the space bar on your keyboard to add two more spaces in front of the p` element so that it is indented properly as well.> kindly help. step 6

Im not sure what they mean by that. I will say I noticed this problem. It might be glitchig this. Where is your opening main now? Hint hint. Oh Im sorry just woke up. Yes you do also need to indent. The chid has to be indent after the parent element, for the code to be read easier. Go to the p element and make it two spaces more to the right.

I’d first press the ‘restart step’ button. You seem to have deleted your <main> elements opening tag and that is needed to pass the test.

So, once you’ve done that let’s break this down into smaller steps. Circled in the below image is a space bar on a keyboard.

Let’s look at this sentence.

Hello world!

Now if I click in front of the sentence and press my space bar, it creates a space in front of the sentence.

 Hello world!

The question asks that you use your space bar to put two spaces before the <h2>, comment and <p> element. It is asking you to click in front of the elements then press your space bar twice.

Does that make sense?

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