Tribute Page - Build a Tribute Page

I can’t detect the problem.
It’s showing that the 1st criteria " you should have a main element with an id of main" is not full field
Please help me out!

   **Your code so far**
/* file: index.html */

<div id="main">
<h1 id="title">Michael Jackson- "King of Pop"


<div id="img-div">
 <a id="tribute-link" target="_blank" href="https://youtu.be/dnCi871mSww">
<img id="image" src="https://www.musicinminnesota.com/wp-content/uploads/2021/02/Michael-Jackson-live-758x368.jpg" alt="picture of Michael Jackson" height="auto" >
</a>
<figcaption id="img-caption">"In a world filled with hate, we must still dare to hope. In a world filled with anger, we must still dare to comfort.
  "-Michael Jackson</figcaption>
 </div>
<p id="tribute-info">
 Here's a timeline of Michael Jackson's life:
 <ul>
   <li>1958: Born Aug. 29 in Gary, Ind. He is the seventh child of Joseph and Katherine Esther Jackson.</li>

<li>1969: In Los Angeles, the Jackson 5 debut as Motown’s newest act.

In December, the group’s single “I Want You Back” hits No. 1 on the Billboard Top 40 Chart.</li>
<li>1972: First No. 1 solo hit “Ben,” a song about a movie rat.</li>

<li>1974: Introduces a dance step called the robot on “Soul Train.” The step sweeps the country.</li>
<li>1979: Jackson’s “Off the Wall” solo album catapults him to superstar status.</li>

KING OF POP

<li>1982: “Thriller” is released, eventually selling more than 100 million copies. It makes Jackson the biggest pop music star of the decade. The record becomes one of the best-selling albums of all time.</li>

<li>1983: “Beat It” reaches No. 1 on the charts.

“Billie Jean” also becomes a gigantic hit, and the influential video, featuring more of Jackson’s electric dancing, remains a landmark.</li>
<li>1988: Michael Jackson donates $125,000 from a concert at the Palace of Auburn Hills, Mich., and some personal memorabilia to start off a fundraising drive to preserve and improve the Motown Historical Museum.

Releases “Moonwalk,” an autobiography.</li>


 </p>
<link rel="stylesheet" href="styles.css">
</div>
/* file: styles.css */
body{
  background-color:black;
  color:white;
  font-family:calibri;
}
h1{
  text-align:center;
}



#img-caption{
 width: 400px;
 text-align:center;
font-size:20px;
}
#image{
 max-width:100%;
 display:block;
}

   **Your browser information:**

User Agent is: Mozilla/5.0 (Linux; Android 8.1.0; vivo 1816) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.0.0 Mobile Safari/537.36

Challenge: Tribute Page - Build a Tribute Page

Link to the challenge:

Well, you need main element, here you have div element. I guess that’s the reason

Hi! Welcome to the forum!

You may want to run your HTML though a validator like this one.

I’m seeing some syntax mistakes. Such as a missing doctype declaration, <html> tag, <head> and <body> element, and the css link not being in the head element.

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