Use a Retina Image for Higher Resolution Displays MISTAKE

Use a Retina Image for Higher Resolution Displays MISTAKE
0.0 0

#1

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


#2

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


#3

Which browser are you using?

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


#4

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.