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

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

   **Your code so far**
\ file: 
<!DOCTYPE html>
<style>
   img {
 max-width: 100%;
 margin: 0 auto;
 display: block;}
   </style>
<main id="main">
 <h1 id="title"> Lalibela</h1>
<figure id="img-div">
  


      <img id="main" 
      
      src="data:image/jpeg;base64,/9j/AABElin5MVEiB9iyvuIpcSJACRMRMSJEIXEiRIgD//Z">
      <div id="img-caption">
          Dr. Suess as a young man
      </div>
  </figure>

      <body id="tribute-info">
   Lalibela is a town in the Amhara region of northern Ethiopia. It's known for its distinctive rock-cut churches dating from the 12th and 13th centuries, which are pilgrimage sites for Coptic Christians. Carved out of rock, the subterranean monoliths include huge Bete Medhane Alem, and cross-shaped Bete Giyorgis. Many are joined by tunnels and trenches, and some have carved bas-reliefs and colored frescoes inside. 
  </body>
  <style>
   

<!DOCTYPE html>
<style>
   img {
 max-width: 100%;
 margin: 0 auto;
 display: block;}
   </style>
<main id="main">
 <h1 id="title"> Lalibela</h1>
<figure id="img-div">
  


      <img id="main" 
      
      src="data:image/jpeg;base64,/9j/AABElin5MVEiB9iyvuIpcSJACRMRMSJEIXEiRIgD//Z">
      <div id="img-caption">
          Dr. Suess as a young man
      </div>
  </figure>

      <body id="tribute-info">
   Lalibela is a town in the Amhara region of northern Ethiopia. It's known for its distinctive rock-cut churches dating from the 12th and 13th centuries, which are pilgrimage sites for Coptic Christians. Carved out of rock, the subterranean monoliths include huge Bete Medhane Alem, and cross-shaped Bete Giyorgis. Many are joined by tunnels and trenches, and some have carved bas-reliefs and colored frescoes inside. 
  </body>
  <style>
   
\ file: 

   **Your browser information:**

User Agent is: Mozilla/5.0 (X11; Linux x86_64; rv:100.0) Gecko/20100101 Firefox/100.0

Challenge: Build a Tribute Page

Link to the challenge:

you don’t have closing tag for “main”

and it would be best if you used external css stylesheet

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