Tribute page corresponding id=main

Tell us what’s happening:
i dont understand what element i apply to a corresponding id=“main”
Your code so far

Your browser information:

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

Challenge: Build a Tribute Page

Link to the challenge:

HI @carterjames3o !

You can use a div tag.
This would be an example for the basic structure.

<div id="main">
<h1>Just an example</h1>
<a>pretend link</a>

For my project, I had a header and footer section so I used the main tag to group the main content.

Basic example using main tags.

<!--introductory content goes here-->
<main id="main">
<!--this is where your main content goes-->
<!--typically contains copyright information and other links -->

The structure is entirely up to you.
I feel like most people choose the first option.

Hope that makes sense.

1 Like