diff --git a/challenges/01-responsive-web-design/applied-visual-design.json b/challenges/01-responsive-web-design/applied-visual-design.json index acec2bfbf3..f61dda84d3 100644 --- a/challenges/01-responsive-web-design/applied-visual-design.json +++ b/challenges/01-responsive-web-design/applied-visual-design.json @@ -820,7 +820,7 @@ "" ], "tests": [ - "assert($('.links').css('opacity') == '0.7', 'message: Your code should set the opacity property to 0.7 on the anchor tags by selecting the class of links.');" + "assert.approximately(parseFloat($('.links').css('opacity')), 0.7, 0.1, 'message: Your code should set the opacity property to 0.7 on the anchor tags by selecting the class of links.');" ], "solutions": [], "hints": [],