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
.main{}

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>
<img>
<a>pretend link</a>
</div>

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.

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

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

Hope that makes sense.

1 Like

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