Tribute Page - Build a Tribute Page

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

Hi there anyone? can you help me with this issue always get “X”
on this 2 its been a week now and try dozen’s of way even checking tutorial in you tube.

  • Failed: Your img element should have a display of block.

  • Failed: Your #image should have a max-width of 100%.
    Your code so far

/* file: index.html */
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  <title>Tribute Page</title>
</head>
<body>
  <Main id="main">
    <h1 id="title">Dr.Mello</h1>
    <div id="img-div">
      <p class="mage"><img src="https://images.pexels.com/photos/747964/pexels-photo-747964.jpeg?cs=srgb&dl=pexels-s-migaj-747964.jpg&fm=jpg" id="image" width="100%" height="auto">
      </p>
      <figcaption id="img-caption">Founder of Iceplant</figcaption>
      <label id="tribute-info">Start with small business that feeds family</label>
      </div
      <div>
      <a href="https://images.pexels.com/photos/956999/milky-way-starry-sky-night-sky-star-956999.jpeg?cs=srgb&dl=pexels-felix-mittermeier-956999.jpg&fm=jpg" id="tribute-link" target="_blank">
    </div>
</main>
  </body>


/* file: styles.css */
#image{
display: block;
max-width: 300px;
}
  **Your browser information:**

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

Challenge: Tribute Page - Build a Tribute Page

Link to the challenge:

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