Anyone help? Changing size of Retina

Tell us what’s happening:

Anyone help? Completed all the html course except this challenge.

Might be typo? Think I have done it right.

Thanks for your help.
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.99 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/

Looks correct, I’m sure about style part

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

is okay.

please try following:

  1. Reset all code
  2. and again try the correct css rule (img { width: 100px; height: 100px; };) and check if it pass
1 Like

Still doesn’t seem to work. :pensive:

Hey!

Try this.

Your code:

img { width: 100px; height: 100px; } ;

Remove that semicolon after }.

Correct code :

img { width: 100px; height: 100px; }

Hope that works. :slightly_smiling_face:

1 Like