Tribute Page - Build a Tribute Page

Tell us what’s happening:

I just uploaded my image from my desktop but it’s not uploading on my preview.Why is that so?

Your code so far

<!-- file: index.html -->
<!DOCTYPE html>
<html lang="en">
  <head>
    <title id="title">Sweet comes from sweat</title>
    <link rel="stylesheet" href="styles.css">
  </head>
  <main id="main">Sweet comes from sweat<br/>
    <a id="tribute-link" target="_blank" href="https://Queen-Lee.The-Heroin">Learn more about Queen Lee</a>
    <div id="img-div">
      <img id="image">
      <caption id="img-caption">Queen Lee</caption>
    </div>
    <div id="tribute-info">
      <p>Queen Lee's Journey</p>
    </div>
  </main>
  <body>
   <div class="wrapper">
    <img src="img/her.jpg" alt="Queen Lee">
    </div>
  </body> 
/* file: styles.css */
img{display:block;max-width:100%;height:auto;
}

Your browser information:

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

Challenge Information:

Tribute Page - Build a Tribute Page

where did you upload the image? you need to use an image hosted somewhere on the web

src="img/her.jpg"

Hi!.
You need the full path of the image, hosted on the web. The best option is to get an image from google.
Also, your code contains a semantic error, placing ‘body’ after ‘main’. The ‘main’ tag should be inside ‘Body’.
Good codes!

oooo ok thank you so much

ok i had used an image from one of my pictures .thank you so much