Why can't I put main?

It’s telling me I’m wrong when I followed the instructions. Please help I am really new to this.

Use the ask for help button, we can’t help you without knowing which step you’re on, and what’s your code.

I don’t know how to explain this.
I’m trying to put main on H1 and the end of P

Can you tell me which step number you are?

freecodecamp_askhelp

Please use this Ask for help on your screen next time. :slight_smile:

I am in Step 5. They teaching me to main the web site

This is the default code, click Restart Step if you messed it up:

   <h1>CatPhotoApp</h1>
    <h2>Cat Photos</h2>
    <!-- TODO: Add link to cat photos -->
    <p>Click here to view more cat photos.</p>

You need to use the < main>< /main> tag to indicate the main part of your website.

<main>
some random code, main part of your website
</main<

Now just do as it tells you: Identify the main section of this page by adding a <main> opening tag after the h1 element, and a </main> closing tag after the p element.

I finally understand. Man, so embarrassing. Thank you

1 Like

We’re all learning, just include your step and code next time. :+1:
Have fun.

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