Build A Tribute Page Project

I cant seem to get passed these:
Your img element should have a display of block .

  • Your #image should have a max-width of 100%.
  • Your #image should be centered within its parent.
  max-width: 100%;

 #img-div {
  display: flex;
  justify-content: center;
  <main id="main">
      <h1 id='title'>Dr. Norman Borlaug</h1>
    <figure id="img-div">
      <img id="image" src="" alt="Description of the image">
      <figcaption id="img-caption">Description of the image</figcaption>
    <section id="tribute-info">
      <p>Description of Dr. Norman Borlaug.</p>
    <a id="tribute-link" href="" target="_blank">Learn more</a>

Welcome to the FCC forum. Post your entire CSS and HTML file for better assistance.

First of all, you need a link tag in your html file, that’s link to your CSS file.
for applying display block on your img element, you need to create img selector with the display property and value block.
For #image width 100%, you need an id attribute with the value image, within your img element.
And create a #image selector with width property value 100%.
For center your #image element, you need margin property and value 0 auto, within the #image selector in your css file.

Thank you! Everything works now.