Stage 6 new Responsive Web Design

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

I can’t seem to pass this stage 6 where it was saying: to make HTML easier to read, indent the h2 element, the comment and the p element exactly two spaces to indicate they are children of the main element.

Cat Photos

Click here to view more cat photos.

This hint: 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. Couldn’t still help

where is the main element that i should place the h2 element below?

  **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/101.0.4951.67 Safari/537.36

Challenge: Step 6

Link to the challenge:

Hi @kingsanaele !

Welcome to the forum!

The test wants you to indent the h2, comment and p tags two spaces to the right.

For example,

  <p>example text 1</p>
  <p>example text 2</p>
  <p>example text 3</p>

You see how the p tags are indented two spaces to the right?
that is what you need to do for this challenge.

Hope that helps!

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