Didn't understand question

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/102.0.5005.61 Safari/537.36

Challenge: Step 6

Link to the challenge:

so to make html easier to read. people usually indent

<html>
  <head>
  </head>

  <body>
  </body>
</html>

notice how the head and body tag are over two spaces… thats because the html tag is the parent element and the head and body are the child… say if i wanted to nest a <h> in the <body>

<html>
  <head>
  </head>

  <body>
    <h>hello world</h>
  </body>
</html>

that h tag is a child of that <body> element

so you wanna add two spaces. but you can also use the “Tab” button and that will move it over two space. instead of having to spress the spacebar twice

in this challege it wants you to make the <h> and <p> a child of the <main>

thanks , answer is easy but did’t understand question but now it clear

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