Use a Retina Image for Higher Resolution Displays MISTAKE

Tell us what’s happening:

it’s not passing my code and i’m pretty sure it is right

Your code so far


<style>
 img{
               width : 100px;
               height :100px;
     }
</style>

<img src="https://s3.amazonaws.com/freecodecamp/FCCStickers-CamperBot200x200.jpg" alt="freeCodeCamp sticker that says 'Because CamperBot Cares'">

Your browser information:

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

Link to the challenge:
https://learn.freecodecamp.org/responsive-web-design/responsive-web-design-principles/use-a-retina-image-for-higher-resolution-displays

Tried your code and it’s working. Try closing your browser, and if that doesn’t work, clear cookies.

1 Like

Which browser are you using?

I had to download mozilla Firefox to make it work. With google Chrome it just woudnt go.

I’m having the same issue with Chrome, as well! It just won’t pass.

<style>
    img { height: 100px; width: 100px; }
</style>

<img src="https://s3.amazonaws.com/freecodecamp/FCCStickers-CamperBot200x200.jpg" alt="freeCodeCamp sticker that says 'Because CamperBot Cares'">

It passes with Firefox and Safari.