Learn HTML by Building a Cat Photo App - Step 5

My code is not working I need help

<html>
  <body>

<!-- User Editable Region -->

  
    <h1>CatPhotoApp</h1>
    <h2>Cat Photos</h2>
    <!-- TODO: Add link to cat photos -->
    <p>See more cat photos in our gallery.</p>
    <!DOCTYPE html>
    <html lang="en">
  <head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>My Web Page</title>
</head>
<body>

</body>
</html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>My Web Page</title>
</head>
<body>

<main>
    <!-- Main content goes here -->
</main>

</body>
</html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>My Web Page</title>
</head>
<body>

<main>
    <h1>Welcome to My Website</h1>
    <p>This is the main content of my website. It contains important information that users need to know.</p>
</main>

</body>
</html>




<!-- User Editable Region -->

  </body>
</html>

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36

Challenge Information:

Learn HTML by Building a Cat Photo App - Step 5

What is the instructions for the step? And look your entire code, what you did it with your code.
@afaq1asif

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.
You need only above to do in the code

Read this docs for understanding element, and tags:

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