What does it mean to indempt

What is your updated code?

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

it says: Your main element should have an opening tag. Opening tags have this syntax: <elementName> .

Ok. Where have you tried to add a main element?

I’m actually confused
I don’t know where or what to do

Are you on step 5?

It wants you to add a <main></main> element.
The element should contain the h2 and p elements (i.e. they should be nested inside the main element).

<html>
  <body>
    <h1>CatPhotoApp</h1>
	<!-- add opening <main> tag -->
    <h2>Cat Photos</h2>
    <!-- TODO: Add link to cat photos -->
    <p>Click here to view more cat photos.</p>
	<!-- add closing </main> tag -->
  </body>
</html>

Hello!
Thank you for guiding me

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

and still it won 't go

You have commented out the element. Remove the comment <!-- --> code but keep the element.

1 Like

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