diff --git a/challenges/01-responsive-web-design/applied-visual-design.json b/challenges/01-responsive-web-design/applied-visual-design.json index f52aff3dd2..99f110562b 100644 --- a/challenges/01-responsive-web-design/applied-visual-design.json +++ b/challenges/01-responsive-web-design/applied-visual-design.json @@ -126,7 +126,7 @@ "" ], "tests": [ - "assert($('.fullCard').css('width') == '245px', 'message: Your code should change the width property of the card to 245 pixels by using the fullCard class selector.');" + "assert(code.match(/.fullCard\\s*{[\\s\\S][^}]*\\n*^\\s*width\\s*:\\s*245px\\s*;/gm), 'message: Your code should change the width property of the card to 245 pixels by using the fullCard class selector.');" ], "solutions": [], "hints": [],