In the previous step, you nested the h2 element, comment, and p element within the main element. A nested element is a child of its parent element. It should be

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>
  <ul> 
<li>
<!-- TODO: Add link to cat photos -->
  </li>
<li>
<p>Click here to view more cat photos.</p>
  </li>
  </ul>
  </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/101.0.0.0 Safari/537.36

Challenge: Step 6

Link to the challenge:

You need to restart the step to get the original HTML and formatting back since formatting is the most important part of this step. Do not any new elements to the HTML. The example HTML was just that, an example, not intended to be used in the solution.

The only thing you want to do is use your space bar to add two more spaces before each of the opening tags for the three children of main.

Hello, there! This exercise is about coding best practices. Demonstrates how to make your code more readable.

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

thanks for the help :pray:

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