Hi Everyone
Struggling with User Story #8: The img element should responsively resize, relative to the width of its parent element, without exceeding its original size.
I’ve added the following CSS code:
#image {
max-width: 100%;
height: auto;
}
But I still am not passing?
Did I get it wrong?
Thanks!
It would help if you provide a link to your codepen.
I’ve edited your post for readability. When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.
You can also use the “preformatted text” tool in the editor (</>) to add backticks around text.
See this post to find the backtick on your keyboard.
Note: Backticks (`) are not single quotes (’).
You need to read the FULL error message because it will tell you how to fix it.
brilliant, thank you @jwilkins.oboe 