Use a Retina Image for Higher Resolution Displays - Not working

Use a Retina Image for Higher Resolution Displays - Not working
0.0 0

#1

Tell us what’s happening:

Why is it not working?

Your code so far


<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'">

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.79 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

The exact code worked for me dear.


#3

It’s weird.
Here is the status:
// running test
Your img tag should have a width of 100 pixels.
Your img tag should have a height of 100 pixels.
// tests completed

:frowning:


#4

try resetting the code (there’s a button there to do it) and then your solution again. Maybe you added something unexpected and we can’t see it.


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