So I am doing the project “Build a Tribute Page” and I have everything right – I have checked off all the tasks, except for the first one
It says " You should have a main element with an id of main" but I already included it so why does it say I didn’t put it in?
I have all of this is far:
<div id="main">
<h1 id="title"> Shrek the Ogre</h1>
<div id="img-div">
<img id="image" src="https://i.insider.com/60817ec5354dde0018c06960?width=750&format=jpeg&auto=webp" alt="a picture of shrek" width="100%" height="auto">
<a id="tribute-link" target="_blank" href="https://i.insider.com/60817ec5354dde0018c06960?width=750&format=jpeg&auto=webp"></a>
<figcaption id="img-caption"> This is Shrek the ogre. He looks intimidating but he has a good heart and a kind soul </figcaption>
<p id="tribute-info">
<b> Shreks Personality Traits: </b>
<ul>
<li> Brave</li>
<li> Caring </li>
<li> Honest </li>
<li> Funny </li>
<li> Charming </li>
</ul>
<style>
body {
background: black;
color: blue;
}
#image {
max-width: 100%;
height: auto;
display: block;
}
</style>
</div>
Am I missing something?