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; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.5060.114 Safari/537.36 Edg/103.0.1264.49

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

Link to the challenge:

Hi @zabrazani,

The example given shows you the difference between indented code and not indented code:

<ul>                           <!-- This code is not indented -->
<li> This `li` element is not indented </li>
<li> This `li` element is also not indented </li>
</ul>
<ul>                           <!-- This code is indented -->
   <li> This `li` element is indented </li>
   <li> This `li` element is also indented </li>
</ul>

It makes your code more readable and shows the parent element ( the ul element ) and child elements ( the li elements ).

Now, all you need to do is indent your code to improve readability by only adding spaces (two spaces - using your spacebar) before all the elements within main.

Please restart the challenge and try again .

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