Tell us what’s happening:
Test “#Layout 1.” doesn’t pass. Error message: “Use the “display” style property with a value of “block” for responsive images.: expected ‘inline’ to equal ‘block’
AssertionError: Use the “display” style property with a value of “block” for responsive images.: expected ‘inline’ to equal ‘block’”
I never heard or read that responsive images need to be displayed block. Also the following challenge doesn’t mention displaying images block: https://www.freecodecamp.org/learn/responsive-web-design/responsive-web-design-principles/make-an-image-responsive
Your code so far
#image {
max-width: 100%;
height: auto;
}
Your browser information:
User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.89 Safari/537.36
.
Challenge: Build a Tribute Page
Link to the challenge: