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 -->

    <h1>CatPhotoApp</h1>
    <main>
      <h2>Cat Photos</h2>
      <!-- TODO: Add link to cat photos -->
    <p>See more cat photos in our gallery.</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

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

Link to the challenge:

Hello and welcome!

both, the <h1> and <h2> should be nested inside your <main>.
Your <p> tag should be vertically in line with your headings. It should look something like this:

<element1>
    <element2></element2>
    <element3></element3>
    <element4></element4>
</element1>

You see that all elements inside element1 have the same amount of space in front of them.

Hello and welcome to FCC Forum, a community of people helping each other!

@ooDanieloo has provided excellent guidance.

Happy coding! :slight_smile:

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