Tribute Page - Build a Tribute Page

Tell us what’s happening:
Describe your issue in detail here.
Not sure what i’m doing wrong the instruction is:
Your #img-div, #image,#img-caption,#tribute-link,should all be descendants of #main.

Your code so far

<!-- file: index.html -->
<link rel="stylesheet" href="styles.css">
<main id="main"></main>
 <title id="title">Tribute Page</title>
  <figure id="img-div">
   <img id="image" />
   <div id="img-caption">Text</div>
 </figure>
 <div id="tribute-info">Text</div>
 <a id="tribute-link" href="http://www.youtube.com/c/cmsuniversal" target="_blank">Link</a>
</main>
/* file: styles.css */
#image {
  max-width: 100%;
  height: auto;
  margin: auto;
}
body{
  text-align:centre;
}
img {
  display: block;
}
#img-div{
  text-align:center;
}

Your browser information:

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

Challenge: Tribute Page - Build a Tribute Page

Link to the challenge:

it means they should be inside of main

1 Like
<main id="main">
  <!--  rest of elements -->
</main>
1 Like

@lolek55507

It is great that you solved the challenge, but instead of posting your full working solution, it is best to stay focused on answering the original poster’s question(s) and help guide them with hints and suggestions to solve their own issues with the challenge.

We are trying to cut back on the number of spoiler solutions found on the forum and instead focus on helping other campers with their questions and definitely not posting full working solutions.


I edited your post.

ah okay that smart of you sorry about that.