Tribute Page - Build a Tribute Page

Tell us what’s happening:
I think i did all the topics but when i run the tests thera are these points which are not proofed:

  1. Your #img-div , #image , #img-caption , #tribute-info , and #tribute-link should all be descendants of #main .

  2. You should have a figcaption or div element with an id of img-caption .

  • but i think i have a figcaption element inside the figure element and named correctly
  1. Your #img-caption should be a descendant of #img-div .
  • my figcaption is inside the figure element with the name img -div and i also named the figcaption img-caption
  1. Failed:Your #img-caption should not be empty.
  • my figcaption with id=“img-caption” is not empty,
    I don’t really know where my mistakes are, can anybody give me a hint or help me?

Your code so far

<!-- file: index.html -->
<!DOCTYPE html>
<html lang="en">
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <meta name="tribute page" content="tribute page freecodecamp project" />
    <title>Stephen Hawking</title>
    <link rel="stylesheet" href="styles.css"/>
    <main id="main">
      <h1 id="title">Stephen Hawking</h1>
      <p>The black hole man</p>
      <figure id="img-div">
        <img id="image" src="stephen_hawking.jpg>
          <figcaption id="img-caption" align="center" ><i>Stephen Hawking</i></figcaption>
      <section id="tribute-info">
        <h3>Here is a short description of his life</h3>
          <li class="list-element"><strong>1930</strong>
          born in ...</li>
          <li class="list-element"><strong>1930</strong>
          born in ...</li>
          <li class="list-element"><strong>1930</strong>
          born in ...</li>
          <h4>Just have a look here
        <a id="tribute-link" href="" target="_blank">Wikipedia</a></h4>

/* file: styles.css */
body {
  background: #477bA4;
  color: white;
  font-family: Candara;
  margin: 0;

h1,p {
p {
h1 {
h3 {
  padding:10px 0 0 0;
img {
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 10px;

.list-element   {

a:hover {

Your browser information:

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

Challenge: Tribute Page - Build a Tribute Page

Link to the challenge:

Hi Irina!

  1. Probably adding </main> closing tag would solve these.
  2. You are missing closing " on you img src. This should probably solve everything else.

Tip, note the colors on every other id=“#” and the one in figcaption to note these errors, as well as the < color.

Hi yunsuklee,

thanks you are great. just this little mistake…
in Germany we say: Sometimes you could’t see the forest with that many trees…

Haha absolutely! The more you practice the more you’ll be able to see :wink:

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