Set width and height of image tag to half of its original value

Hi
Why am I getting an error on this code. The error says it should be 100pixels for both width and height and it is exactly that?
Thank you

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/75.0.3770.90 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

1 Like

Your code is passing for me.

  1. Try in Incognito mode.

  2. Try logging out and clearing the cache and cookies.

  3. Try using Firefox, just to test.

Thank you
I did this in Firefox, and it went through without a problem