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>

<!-- User Editable Region -->

   <main>
   <h1>Welcome to My Website</h1>
   <h2>Cat Photos</h2>
   <!-- This is a comment -->
   <p>This is a paragraph of text.</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/116.0.0.0 Safari/537.36 OPR/102.0.0.0

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

Link to the challenge:

This step asks that the spacebar on the keyboard be used to align the p element with the ones above it. No other changes.
But the text is the h1 element is not correct.

1 Like

CatPhotoApp

<h2>Cat Photos</h2>
<!-- TODO: Add link to cat photos -->
</main>
<p>See more cat photos in our gallery.</p>

I suggest resetting the step and only adjusting the p element using the spacebar on your keyboard.

Happy coding! :slight_smile:

Please, you should not create new posts on the same topic.

You have aligned the p element, now, but moved it to outside of the main element.

As I suggested, only align the p element. Do not make any other changes, and do not move the p element. Just use the spacebar to align it

1 Like

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