Tribute Page img and #image in CSS problems

Tell us what’s happening:

It says my img element should have a display of block and
my #image should have a max-width of 100%. Feel like I’ve done that and still can’t get these final two crossed of the list.

<<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <meta name="description" content="Tribute page"/>
    <link rel="stylesheet" href="styles.css"/>
  </head>
  <body>
    <main id="main">
      <h1 title id="title">Tiger Woods Tribute Page</h1>
      <div id="img-div">
        <img id="image"  src="data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wCEAAkGBxIQEBAPDxAPEBAQEBUVDxAQDxAVFRAVFRUWFhUVFRUYHSggGBolHRUVITEhJSkrLi4uFx8zODMtNygtLisBCgoKDg0OFhAQFy0dHR0tLy0rLSsrLSstKy0rLS0tKysrKy0tKystLSstKystLSstLSstLSsrLSstLS0tKystLf/AABEIALcBEwMBIgACEQEDEQH/xAAcAAACAgMBAQAAAAAAAAAAAAABAgADBAUGBwj/xAA+EAACAQIEAwUGAgkDBQEAAAABAgADEQQSITEFQVEGEyJhgQcyQnGRobHBFCNSYnKCotHhM5LxU2NzwvBD/8QAGgEBAQADAQEAAAAAAAAAAAAAAAECBAUDBv/EACkRAQADAAEEAAQGAwAAAAAAAAABAhEDBBIhMSJBUYEFEzJxobEUUmH/2gAMAwEAAhEDEQA/ANqBDaMBGAny7AloQI9obRgW0IEcCG0uBbQ2j2ktJgW0IEfLCFkCgQ2jARgsBLQ2j5ZMsoS0No2WHLAURgIbQ2gC0NobQ2gLaS0J01OkqbEoNzM+Ph5OT9NdMWWktMVscjCwLKTsylbjzFwRyPKVUMWF0L1Knm/d3/oUCbUfhvNm+P21e2WfaTLKUxaHnb8pkianLw8nF4vGGK8sGWWWgInkisrFyy0iKRArtARLCIplFZEUiWGKRASSGSBUBGAgEYT2wS0NpIZMEAjgRYwMYDaECQGMDJggEYLADHEmKAWECGGTAMsOWGGULlkyx5JcC5YbRobSBbRKzhFZ20VRc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OBwGNoOtNsauKoMTmFegq1gSDYrUp2U620K+vTlfbDUXEcIWspzBK1N1Oo3JQnX+IiSSQeKUm1hbQySSsTrHUySQpXEiNJJCC2hDA2IIII3BGoIi2vJJCqmjUaliDJJCLq1PW45ytOnUSSQK0+MeX4T172UV8uDSmL5meoxtvYudByG0kkLD0bDYkAhVGZhy2A9TM1aWdlaoRmX3Mqi633sx1B+REkkMoTEcTw9JilRrMLXurtuLjXnvJJJA//Z"   alt="Tiger Woods">
        <figcaption id="img-caption">Tiger Woods at Valhalla for 2024 PGA Championship</figcaption>
        </div><br>
        <div id="tribute-info">
    <h2 id="headline"> His early life:</h2>
    <p>Eldrick "Tiger" Woods grew up in California somewhere. His father was in the military, I believe, and taught his son golf the hard, disciplined way. He attended Stanford University and won multiple amateur championships before turning pro.</p>
    <h2 id="headline"> His early career: </h2>
    <p>It didn't take long for Tiger to make his presence felt on the pro tour. He dominated the 1997 Masters Tournament for his first career major and his career catapulted from there.</p>
    <h2 id="headline"> His career currently: </h2>
    <p>For the past decade or so, Tiger has been dealing with mulitple injuries, knee and back being two of his biggest ailments. He has won around 15 majors now. Those are about the only tournaments he plays nowadays. He is about to tee it up here in Louisville, KY for the 2024 PGA Championship at Valhalla Golf Club.</p>
    <blockquote cite="https://sports.yahoo.com/jack-nicklaus-knows-tiger-woods-210026810.html?guccounter=1&guce_referrer=aHR0cHM6Ly93d3cuZ29vZ2xlLmNvbS8&guce_referrer_sig=AQAAAHqnKFrEK11OEEhgOXpRqmhnPtBDogiX2s0KIEA-BBVd58yrJth9Ya2XcVlj87Bdr0QYNQyAYzxVhH7tVFyTqb-4jQfI4ON2_YiyRMcyCgNVvTtZcm3HxQ7rQI7HjqFjOlBttIHxct_amMCakaHiK-gcg8k5NQ0TvTu1MdSNabEK#:~:text=%E2%80%9CTiger%20has%20the%20ability%20to,he%20can%20walk%2072%20holes.">
    <p>“Tiger has the ability to still play, but obviously doesn’t play as well as he did, and I think a lot of his is physical ailments,” Nicklaus said. “But I watched him hit balls, and he hits the ball pretty well. It’s just trying to keep his body together."
    </p>
    <cite>-- Jack Nicklaus    May 2, 2024</cite>
    </blockquote>
    <h3>To learn more about Tiger Woods, check him out at <a id="tribute-link" href="https://en.wikipedia.org/wiki/Tiger_Woods" target="_blank" >his wikipedia page</a>.</h3>
</div>
      </main>
    </body>
  </html>>
#title{
  font-size: 30px;
  background-color: red;
  font-family: Arial, sans-serif;
  max-width: 50%
  text-align: center;
}

body {
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

figcaption{
  font-size: 13px;
  font-family: Arial Narrow, sans-serif;
}

blockquote{
  background-color: lightgreen;



header{
  background-color: #3b2c11;
}

#image{
  max-width: 100%;
}

img {
  max-width: 100%;
  display: block;
  height: auto;
  margin: 0 auto;
}

#img-div {
  background: white;
  padding: 10px;
  margin: 0;
  max-width: 100%;
}

#img-caption {
  margin: 15px 0 5px 0;
}



Your browser information:

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

Challenge Information:

Tribute Page - Build a Tribute Page

After seeing your problem, I instantly performed a quick overview on the same project I did.
you may have the same style through img and #image selector on your style.css
you try to remove the #image id selector and perform the style operation on only img. let us know if work.

you need to fix this, it’s making other css wonky

and this (missing semicolon)

What in here is making other CSS wonky? I’m new to this and trying to figure it all out

Thank you! It worked!

Thanks! I didn’t notice that!

It was my missing }, wasn’t it?