I don’t know whatI’m doing wrong. Test says : " 1. Your #image
should use max-width
and height
properties to resize responsively, relative to the width of its parent element, without exceeding its original size
2. Your img
element should be centered within its parent element."
#image {
max-width: 100%;
display: block;
height: auto;
margin: 0 auto;
}
Link to the challenge: