Tell us what’s happening:
Describe your issue in detail here.
I kept having this issues and i don’t know what i am suppose to do differently.
Your code so far
<!-- file: index.html -->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<main id="main">
<div id="title">
<h1>Fela Anikulapo Kuti</h1>
<h2>The man, the myth and the legend</h2>
</div>
<div id="img-div">
<img id="image" src="https://d1rgjmn2wmqeif.cloudfront.net/extra/2000/HomePageModule-40491-88972.jpg" alt="fela image">
<figcaption id="img-caption">Fela Anikulapo Kuti performing at Berlin Jazz Festival 1978</figcaption>
</div>
<div id="tribute-info">
<ul>
<li><b>1938</b><p> Olufela Olusegun Oludoton Ransome-Kuti Fela - is born on 15 October in Abeokuta, a town fifty miles north of Lagos. His family is relatively prosperous and it is among the few in Abeokuta with a car (Fela’s mother, Olufunmilayo Ransome-Kuti, a pioneering feminist, is one of the first Nigerian women to drive one). Fela’s father, the Reverend Israel Ransome-Kuti, is the Principal of Abeokuta Grammar School. Fela’s first cousin, Wole Soyinka, later a Nobel Prize-winning writer, sometimes spends his school holidays at the Ransome-Kuti home. Fela would later attribute many of his political ideas to his mother. He would also cite Nkrumah’s dictum, “The secret of life is to have no fear” – a belief he lived by throughout his life, whatever the consequences.</p></li>
<li><b>1997</b><p>On 2 August, Fela dies. An estimated hundred and fifty thousand people gather in Tafawa Balewa Square to pay their final respects, and over a million others line the route as the coffin is taken to the Shrine for a private ceremony for family and friends. The crowd is so dense that it takes seven hours to cover the twenty kilometre journey. The following day Fela is buried in the grounds of Kalakuta.</p>
</li>
</ul>
<p><i><q>Music is a weapon of the future, music is the weapon of the progressives, music is the weapon of the givers of life</q></i><br> —<cite>Fela Anikulapo Kuti</cite></p>
</div>
<div>
<h3>If you have time, you should read more about this incredible human being and his work on his <a id="tribute-link" target="_blank" href="https://felakuti.com/us">Official Website</a>.</h3>
</div>
</main>
</body>
</html>
/* file: styles.css */
body {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto',
'Helvetica Neue', Arial, sans-serif;
font-size: 1.6rem;
line-height: 1.5;
text-align: center;
color: #333;
margin: 0;
}
h1 {
font-size: 4rem;
margin-bottom: 0;
}
@media (max-width: 460px) {
h1 {
font-size: 3.5rem;
line-height: 1.2;
}
}
h2 {
font-size: 3.25rem;
}
a {
color: #477ca7;
}
a:visited {
color: #74638f;
}
#main {
margin: 30px 8px;
padding: 15px;
border-radius: 5px;
background: #eee;
}
@media (max-width: 460px) {
#main {
margin: 0;
}
}
#image {
max-width: 100%;
display: block;
height: auto;
margin: 0 auto;
}
#img-div {
background: white;
padding: 10px;
margin: 0;
}
#img-caption {
margin: 15px 0 5px 0;
}
@media (max-width: 460px) {
#img-caption {
font-size: 1.4rem;
}
}
ul {
max-width: 550px;
margin: 0 auto 50px auto;
text-align: left;
line-height: 1.6;
}
li {
margin: 16px 0;
}
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36
Challenge: Tribute Page - Build a Tribute Page
Link to the challenge: