Learn HTML by Building a Cat Photo App - Step 5

Tell us what’s happening:
Describe your issue in detail here.

Your code so far

<html>
  <body>

<!-- User Editable Region -->

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

<!-- User Editable Region -->

  </body>
</html>

Your browser information:

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

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

Link to the challenge:

Welcome to the community!

Element comprises of opening < > and closing </ > tags.
e.g

<h1>Hello Friend</h1>

The above is a h1 element , because it has the opening and closing tags. So, i can nest it in another element ( div )
e.g

<div>
   <h1>Hello Friend</h1>
</div>

You can tell the opening tag <div> comes before the h1 element, and the closing tag </div> comes after the h1 element .

Reset your code and follow the guidelines.

In this task, you’re asked to add a <main> opening tag before the h1 element, and a </main> closing tag after the p element.

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