I am unable to pass the last responsive test. It says I need to use max-width on the parent img element but I think I already am…
I think you need to use it on the img element itself and not on the div. Meaning, not img-div, but image.
This contains the answer you need. You need to make the image scale with the screen while maintaining the ratio.
I added max-width to image just like the example and still no progress… Sorry guys.
Add this to your img element:
img {
display:block;
margin: auto;
max-width: 500px;
}
Tests pass.