diff --git a/curriculum/challenges/english/01-responsive-web-design/basic-css/size-your-images.english.md b/curriculum/challenges/english/01-responsive-web-design/basic-css/size-your-images.english.md index f8c9ca356a..f375d85e98 100644 --- a/curriculum/challenges/english/01-responsive-web-design/basic-css/size-your-images.english.md +++ b/curriculum/challenges/english/01-responsive-web-design/basic-css/size-your-images.english.md @@ -25,7 +25,6 @@ For example, if we wanted to create a CSS class called larger-image ## Instructions
Create a class called smaller-image and use it to resize the image so that it's only 100 pixels wide. -Note: Due to browser implementation differences, you may need to be at 100% zoom to pass the tests on this challenge.
## Tests @@ -35,8 +34,8 @@ Create a class called smaller-image and use it to resize the image tests: - text: Your img element should have the class smaller-image. testString: assert($("img[src='https://bit.ly/fcc-relaxing-cat']").attr('class') === "smaller-image"); - - text: Your image should be 100 pixels wide. Browser zoom should be at 100%. - testString: assert($("img").width() === 100); + - text: Your image should be 100 pixels wide. + testString: assert($("img").width() < 200 && code.match(/(?<=