Can anybody help me with step 6?

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.0.0 Safari/537.36

Challenge: Step 6

Link to the challenge:

Hello, ishu34
you are required to add two spaces to the children of the <main> element which are <h2>, <!----> and <p>

please note spaces not tabs
just likes spaces in a sentence but at the start of the opening tag

can you give an example please?

let’s say i have a parent Element <div> and has two children <img> and <p>

In this first example the children of the <div> dont have any spaces

<div>
<img src="...." alt="...">
<p>A paragraph</p>
</div>

in this second example the children of the parent element <div> below have two spaces

<div>
  <img src="...." alt="...">
  <p>A paragraph</p>
</div>

and this one below has tab spaces

<div>
    <img src="...." alt="...">
    <p>A paragraph</p>
</div>
Your answer is among these three examples

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