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:
I'm not sure what else to look at. Please help!
It would be best if you gave us a link to your project/code so we can test for ourselves.
Read all of the error message, including the lower part.
It also needs
display: block the error message should tell you this.
id="image" to the image element.
<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.
text is not a valid CSS property.
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.