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>CatPhotoApp,See more cat photos in our gallery</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 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36 OPR/106.0.0.0

Challenge Information:

Learn HTML by Building a Cat Photo App - Step 5

You appear to have created this post without editing the template. Please edit your post to Tell us what’s happening in your own words.
Learning to describe problems is hard, but it is an important part of learning how to code.
Also, the more you say, the more we can help!

Welcome to the forum @IXL

The main element is used to define the main content of a webpage. It has an opening and closing tag with the same syntax as your other elements (e.g. h1, h2, p).

By putting a main opening tag above your h1 element and a main closing tag below your p element, you are nesting all of these other elements (which represent the main content of your webpage) inside your main element.

Please reset the step to restore the original code, then nest the h1, h2, and p elements inside a main element.

Happy coding