Merge pull request #13081 from dnahol/fix/challenge-test

fix(challenge): Decrease the Opacity of An Element
This commit is contained in:
Peter Weinberg
2017-02-02 17:24:48 -05:00
committed by GitHub

View File

@ -820,7 +820,7 @@
"</div>" "</div>"
], ],
"tests": [ "tests": [
"assert($('.links').css('opacity') == '0.7', 'message: Your code should set the <code>opacity</code> property to 0.7 on the anchor tags by selecting the class of <code>links</code>.');" "assert.approximately(parseFloat($('.links').css('opacity')), 0.7, 0.1, 'message: Your code should set the <code>opacity</code> property to 0.7 on the anchor tags by selecting the class of <code>links</code>.');"
], ],
"solutions": [], "solutions": [],
"hints": [], "hints": [],