Learn HTML by Building a Cat Photo App - Step 6

Tell us what’s happening:
Describe your issue in detail here.I don’t understand the step 6 questions?

  **Your code so far**
<html>
<body>
  <h1>CatPhotoApp</h1>
  <p>  </p>
  <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 (iPhone; CPU iPhone OS 15_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.1 Mobile/15E148 Safari/604.1

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

Link to the challenge:

I suggest that you click on the “Restart Step” button and reload the page as you’ve added too much code for this exercise.

In this exercise, they are trying to teach you how to properly indent your code so it can be read by others easily.

For eg. You can write code like this:

<html>
<body>
<h1>CatPhotoApp</h1>
<h2>Cat Photos</h2>

or you could indent the code to make it look better like this

<html>
  <body>
    <h1>CatPhotoApp</h1>
    <h2>Cat Photos</h2>

Notice that there are 2 spaces “indentation” before the <body> and 4 spaces indentation before the <h1> and <h2> lines.
This indentation is there to help you and others read the code. It does not affect the way
the browser displays anything.

So once you’ve restarted the step, all you have to do is add the proper indentation to the given line. Put your cursor at the start of the line and click space twice.
Do not add any other code.

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