Learn HTML by Building a Cat Photo App - Step 5

Tell us what’s happening:

Pls can someone help me lol

Your code so far

<html>
  <body>

<!-- User Editable Region -->

    <CatPhotoApp>
    <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; rv:122.0) Gecko/20100101 Firefox/122.0

Challenge Information:

Learn HTML by Building a Cat Photo App - Step 5

1 Like

Please talk to us about how the instructions or error message is confusing. Thanks

1 Like

Welcome to FFC forum. Remove that catphotoapp tag above h1 tag, and add main opening tag there and a main closing tag below your p tags.
@saidki

2 Likes

HTML5 has some elements that identify different content areas. These elements make your HTML easier to read and help with Search Engine Optimization (SEO) and accessibility.

Identify the main section of this page by adding a <main> opening tag before the h1 element, and a </main> closing tag after the p element.

1 Like

Welcome to the forum @saidki

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

2 Likes

Yes, I can read the instructions. I was hoping you would talk about how those instructions are confusing so we can help you and update the instructions.

2 Likes

Ohhh thanks youuuu :smile:

2 Likes

People came to help me in the comments, thank you for your volunteering it’s my first time here. Sorry if I was disturbing!!! :smiling_face_with_tear:

1 Like

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