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!
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.