Tribute Page Help - responsive img vs centered img

Codepen Tribute-Page: https://codepen.io/erhallow1123/pen/vYOaXZL

I am having trouble with the last few page tests. I can only get one test to work at a time, but cannot get both. Below is my CSS code for my responsive image. If I add in maximum-width: 100%; it will count as a responsive image. If it take it away, it will count as a centered element. I can’t seem to get both to work at the same time. Is it possible for both of them to work at the same time? Should I attempt to make a different image responsive?

Screen Shot 2020-03-20 at 2.55.18 PM

Check the name of the property you are trying to use!!

https://www.w3schools.com/cssref/pr_dim_max-width.asp

1 Like

Screenshot (7)
@erhallow … style your image using your id(img-div) and element(img) that is within your dev element…as the instruction says. it will pass the test

1 Like