Img width&height

Tell us what’s happening:

Your code so far


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

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

Your browser information:

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

Challenge: Use a Retina Image for Higher Resolution Displays

Link to the challenge:

I just clicked on the link to the challenge and pasted your code because I didn’t see anything wrong. It gave me “100% complete”. Maybe clear your cache/cookies and restart the browser?

1 Like

Thank you for your answer. Even though I cleared the cache, I still get errors.