Make an Image Responsive display is wrong

Make an Image Responsive display is wrong
0

#1

Tell us what’s happening:

Your code so far


<style>
 .img{
     max-width:100%;
     display: block;
     height: auto; 
 } 
</style>

<img src="https://s3.amazonaws.com/freecodecamp/FCCStickerPack.jpg" alt="freeCodeCamp stickers set">

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.100 Safari/537.36.

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


#2

It should be img tag and not a class.

Hope that helps.