Learn HTML by Building a Cat Photo App - Step 5

Please help me how I can use this >>>> main
I don’t understand here ?

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

</body>
</html>

You are going to add two tags, an opening <main> tag and a closing </main> tag. The two tags define the main element. You want to place the opening tag after the h1 element but before the h2 element. Right now you have placed it after the p element. Then, you want to place the closing tag after the p element. Doing this will wrap the h2 element, the comment, and p element in the main element.

hello and welcome to fcc forum :slight_smile:

you can use it (“main”) as you would any other “div”, (<div>....</div>)

also always try to include “step” url link as well, it gets easier to understand and help

happy learning :slight_smile: