Learn HTML by Building a Cat Photo App - Step 6 - VZTO5Ilxcw-bSNtCpZbfo

Add two more spaces in front of the h1 , comment, and p elements so your HTML is more readable.

How do i go about that task?

  **Your code so far**
<html>
<body>
 <ul>
 <li> <h1>CatPhotoApp</h1>
  <main>
  <h2>Cat Photos</h2>
 <li> <!-- TODO: Add link to cat photos -->
 <li> <p>Click here to view more cat photos.</p>
  </main>
  </ul>
</body>
</html>
  **Your browser information:**

User Agent is: Mozilla/5.0 (Windows NT 6.1; Win64; x64) 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:

hello and welcome to fcc forum :slight_smile:

take out those ‘li’ tags from there, in addition to that, its simply just invalid syntax!!

i would recommend that you restart this step and simply ‘indent’ these elements within ‘main’ by three spaces each or equivalent by ‘one tab’

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

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