I noticed the tribute project page does not have a codepen link like i saw on different tutorial,and the css seem not to be working without codepen

Tell us what’s happening:
Describe your issue in detail here.

  **Your code so far**
/* file: index.html */
<main id="main">
<h1 id="title">Chris Brown</h1>
<figure id="img-div">
  <img id="image" src="https://upload.wikimedia.org/wikipedia/commons/thumb/6/6a/Chris_Brown_5%2C_2012.jpg/220px-Chris_Brown_5%2C_2012.jpg" alt="chrisbrown"/>
  <figcaption id="img-caption">Christopher Maurice Brown (born May 5, 1989) is an American singer, songwriter, dancer, graffiti artist and actor. According to Billboard, Brown is one of the most influential and successful R&B singers ever,[2][3][4] with several considering him the "King of R&B" alongside Usher and R. Kelly.[5] His musical style has been defined as polyhedric, with his R&B being characterized by several influences from other genres, mainly hip hop and pop music. His lyrics develop predominantly over themes of sex, romance, fast life, desire, regret, and emotional conflict. Being described by media outlets and critics as one of the biggest talents of his time in urban music, Brown gained a cult following, and wide comparisons to Michael Jackson for his stage presence as a singer-dancer.</figcaption>
</figure>
<section id="tribute-info">Following the releases of X and Royalty, his 2017 double-disc album, Heartbreak on a Full Moon, consisting of 45 tracks, was certified gold by the Recording Industry Association of America for combined sales and album-equivalent units of over 500,000 units after one week, and in 2019 it has been certified Double Platinum by the Recording Industry Association of America. Brown's ninth studio album Indigo was released in 2019, also debuted number-one on the Billboard 200.[14] It included the Drake featured track "No Guidance" which peaked at number 5 on the Billboard Hot 100 and broke the record for the longest running No. 1 on Billboard's R&B/Hip-Hop Airplay chart since the chart debuted in 1992.[15][16] Its chart success was outdone with the single "Go Crazy" released the following year, alongside Young Thug as part of their collaborative mixtape Slime & B (2020), which reached number 3 on the Hot 100 and broke Brown's own record for the longest running No. 1 on Billboard's R&B/Hip-Hop Airplay chart that was previously set by "No Guidance".[17][18][19]

Brown has sold over 193 million records worldwide, making him one of the world's best-selling music artists. Additionally, he is tied for the most digital single sales among R&B artists in the United States with Bruno Mars.[20] He is also one of the highest grossing African American touring artists of all time.[21] Throughout his career, Brown has won several awards, including a Grammy Award, eighteen BET Awards, four Billboard Music Awards, and thirteen Soul Train Music Awards. According to Billboard, Brown has the seventh most Billboard Hot 100 entries with 106 - which is the most of any R&B artist in history.[22][23][24] Brown was also ranked 3rd in the Billboard top R&B/Hip-Hop artists of the decade for the 2010s, behind peers Rihanna and Drake in 2nd and 1st, respectively.[25] Brown has also pursued an acting career. In 2007, he made his on-screen feature film debut in Stomp the Yard, and appeared as a guest on the television series The O.C. Other films Brown has appeared in include This Christmas (2007), Takers (2010), Think Like a Man (2012), and Battle of the Year (2013) and She Ball (2020).
<a id="tribute-link" href="https://www.youtube.com/watch?v=zKCrSN9oXgQ" target="_blank">Chris Brown's most watched video</a>
</section>
</main>

/* file: styles.css */
img {
display: block;
#image {
  max-width: 100%; 
}
}
  **Your browser information:**

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.5005.63 Safari/537.36

Challenge: Build a Tribute Page

Link to the challenge:

1 Like

Hi @ochebarnnas12345

It seems your forgot something there. You can see here, for example:

On CodePen you dont need to paste all your HTML, only the body content I think. So it is normal it does not work the same.

You should wrap text with some p elements. It is hard to read. Maybe figcaption text shorter too.

You should check your error message to fix one by one. And even first just read carefully the instructions because I think you have missed other elements, and that is probably the real problem.

Check here syntax selector as well, for example:

Because yours is not right.

Let us know how are you doing after this. It is going to look nice, keep going.
Dont forget take breaks too, happy coding!

You may have missed this note

Note: Be sure to add <link rel="stylesheet" href="styles.css"> in your HTML to link your stylesheet and apply your CSS

1 Like