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; rv:102.0) Gecko/20100101 Firefox/102.0

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

Link to the challenge:

1 Like

Hi @hazarsayar42

Your code should have a two spaces (not tabs) indentation. h1 and main should be in the same vertical line, two spaces to the right respect to the body element. And all the elements and comments inside the main element should have a two spaces indentation to the right respect the main element.
I hope that helps.
You can use this pages to consult syntax and far explanations as well:
https://www.w3schools.com/
https://developer.mozilla.org/en-US/
Happy coding! Dont worry, keep going, baby steps.

2 Likes

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