Make an Image Responsive.,

Tell us what’s happening:

“Your img tag should have a display set to block.”

did i not do that already? am i missing something small?

Your code so far


<style>
  
</style>

<img {
  max-width: 100%;
  display: block;
  height: auto;
}
  src="https://s3.amazonaws.com/freecodecamp/FCCStickerPack.jpg" alt="freeCodeCamp stickers set">

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.99 Safari/537.36.

Link to the challenge:
https://learn.freecodecamp.org/responsive-web-design/responsive-web-design-principles/make-an-image-responsive

You’re trying to do a CSS style declaration inside the img tag, which won’t work.

Wow…lol Thank you, my bad.