Max-width error for Tribute Page Project

Max-width error for Tribute Page Project
0

Hey guys,

Seem to be having an issue passing User Story #8 for the Tribute Page. I keep getting an error that looks like this.

Try using the “max-width” style property : expected ‘none’ to not equal ‘none’
AssertionError: Try using the “max-width” style property : expected ‘none’ to not equal ‘none’

This is my tribute page : https://codepen.io/jrgomez92/pen/JQogKG?editors=1100

image{
  max-width:100%;
}

this is looking for an html element image which doesn’t exist. If you change this to img then it should work.

Thank you. Just changed that. Still giving me the same error, though.

Did you look at the error message?

It is saying to use display: block on the image.

Doing that will trigger a new error, saying that the image is not centered inside its parent container. Try and see if you can do that. If you need help just post again and we can help you.