From 91b3af990ce2a30ea5eb72c8bca3a3c059afcad7 Mon Sep 17 00:00:00 2001 From: dnahol Date: Thu, 2 Feb 2017 08:25:20 -0800 Subject: [PATCH] fix challenge test --- challenges/01-responsive-web-design/applied-visual-design.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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": [],