Tribute Page - Build a Tribute Page

Tell us what’s happening:
the image in css is not working…please some help!

Your code so far

<!-- file: index.html -->
<!DOCTYPE html>
<html>
<head>
  <title id="title">Title of the Webpage</title>
</head>
<body>
  <main id="main">
    <div id="img-div">
      <img id="image" src="image.jpg" alt="Image Description">
      <figcaption id="img-caption">Nipsey with the Grammys award</figcaption>
    </div>
    <div id="tribute-info">
      <h2>Tribute Title</h2>
      <p>Tribute Information</p>
    </div>
    <a id="tribute-link" target="_blank" href="https://example.com">Tribute Link</a>
    
  </main>
</body>
</html>


    
  

  
/* file: styles.css */
img{display:block;max-width:100%;margin:0;height:auto;}

Your browser information:

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

Challenge: Tribute Page - Build a Tribute Page

Link to the challenge:

Welcome! :slight_smile:
I do not see the link rel=“stylesheet” href=“styles.css”

yeah i did it yesterday i didn’t pay attention…thanks though

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