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**
<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; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.0.0 Safari/537.36

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

Link to the challenge:

It looks like your entire indentation is off by two. Restart the step, this is what you should see:

<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>

Notice how the body element is indented two spaces in from the html element. But in the HTML you pasted it is not indented, it is lined up with the html element. Did you do anything to cause this?

Regardless, restart the step and be sure to only do one thing, add two spaces in front of the p element. That’s it.

UPDATE: Never mind, I see now that when you use the Ask for Help button, when it automatically puts your HTML in there, it formats the HTML incorrectly, at least as far as we are concerned for this step.

Also, the real issue is that you have added some extra whitespace after the comment. While this technically shouldn’t be a problem, the tests don’t like it.

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