Hello! New here…
I’m having trouble passing my Layout #1 test, which says:
“The element should responsively resize, relative to the width of its parent element, without exceeding its original size.”
My current code is:
img {
max-width: 100%;
height: auto;
}
I'm not sure what else to look at. Please help!
<img-div id="image"> is not a valid HTML element so you need to remove it. Also, remember you can only have the same id one time and the id image should be on the image element.
You still need display: block on the image as well.