diff --git a/curriculum/challenges/english/01-responsive-web-design/responsive-web-design-principles/use-a-retina-image-for-higher-resolution-displays.english.md b/curriculum/challenges/english/01-responsive-web-design/responsive-web-design-principles/use-a-retina-image-for-higher-resolution-displays.english.md index 3c7b8a1559..4b6be6825c 100644 --- a/curriculum/challenges/english/01-responsive-web-design/responsive-web-design-principles/use-a-retina-image-for-higher-resolution-displays.english.md +++ b/curriculum/challenges/english/01-responsive-web-design/responsive-web-design-principles/use-a-retina-image-for-higher-resolution-displays.english.md @@ -34,9 +34,9 @@ Set the width and height of the img tag t ```yml tests: - text: Your img tag should have a width of 100 pixels. - testString: assert($('img').css('width') == '100px'); + testString: assert(document.querySelector('img').width === 100); - text: Your img tag should have a height of 100 pixels. - testString: assert($('img').css('height') == '100px'); + testString: assert(document.querySelector('img').height === 100); ```