Learn HTML by Building a Cat Photo App - Step 6

Tell us what’s happening:

my code won’t run on step 6 of my responsive web design

Your code so far

<html>

<!-- User Editable Region -->

  <body>
    
   <main>
      
      
   <h1>CatPhotoApp</h1>
   <h2>Cat Photos</h2>
   <!-- TODO: Add link to cat photos -->
   <p>Everyone loves cute cats online!</p>


</main>

<!-- User Editable Region -->

  </body>
</html>

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36

Challenge Information:

Learn HTML by Building a Cat Photo App - Step 6

1 Like

Just gonna mark it here that this question needs FreeCodeCamp support

@Skely Reset the lesson and try again, it works fine to me.

Welcome to the forum @AlexK

You should not change the indentation on the line with your h2 element. Its opening tag should start 6 spaces over from the start of the line. You can restart the step to restore the original indentation.

It looks like you may have altered the indentation of the elements nested within the main element.

Happy coding

1 Like