Needing some assistance with tribute page please

hello all.

so im stuck on the last part about the resizing to the width of its parent element w/o exceeding its orginal size. before anyone asks, yes i went back to the curriculum and studied it but for some reason it want work. please take a look at my link and tell me what you see wrong or where im missing the last objective.
thanks in advance for the help.
FCC USMC TRIBUTE PAGE (codepen.io)

HI @flmagnum !

Take a close look at what you wrote in your html for the id.

<img id="image" src="https://devildogshirts.com/wp-content/uploads/2020/03/devil-dog-shirts-challenge-coins.jpg" alt="Devil Dog" width="50%" height="50%">

Then take a close look at what you wrote in the css

#img {
  max-width: 100%;
  height: auto;
  
}

The names have to match.

Once you fix that, the test still wont’ pass.
You will need to open up the test suite again and notice that the error message has changed.

Once you fix that, then the test still won’t pass.
You will need to open up the test suite again and notice that the error message has changed.

Once you fix that then the test will pass

Hope that helps!

1 Like

Thank you mam for pointing me to the right direction. I
needed to step away from it and hit it again fresh.

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