Is it a mistake or is it a bug in this challenge?

Tell us what’s happening:
someone can help me, I didn’t understood why code doesn’t work where is my mistake in this challenge

thanks guys

Your code so far


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

img {
width: 600px;
}
</style>

<img class="responsive-img" src="https://s3.amazonaws.com/freecodecamp/FCCStickerPack.jpg" alt="freeCodeCamp stickers set">
<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/70.0.3538.102 Safari/537.36 Edge/18.18362.

Challenge: Make an Image Responsive

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

Your code is passing for me.

  1. Make sure the browser is at 100% zoom (Ctrl+0).

  2. Try using Chrome or update Edge to the latest version (which is the Chromium-based version).

2 Likes

You are not instructed to use display property. kindly delete “display:block” and run it . it would pass.

Thank you all, it was’nt me I tried on other browser and I passed.
normally I use Firefox but now I use internet explorer.