From 20f0cf5b37396c5ccdff88f931a4c57e498f5412 Mon Sep 17 00:00:00 2001 From: ahstro Date: Mon, 17 Aug 2015 10:20:26 +0200 Subject: [PATCH] Ignore case in HTML/CSS hex color waypoints. #1830 --- challenges/html5-and-css.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/challenges/html5-and-css.json b/challenges/html5-and-css.json index 4d4ae95cad..9e44be3454 100644 --- a/challenges/html5-and-css.json +++ b/challenges/html5-and-css.json @@ -3508,7 +3508,7 @@ ], "tests": [ "assert($(\"body\").css(\"background-color\") === \"rgb(255, 0, 0)\", 'Give your body element the background-color of red.')", - "assert(editor.match(/#FF0000/g) && editor.match(/#FF0000/g).length > 0, 'Use the hex code for the color red instead of the word red. For example body { color: #FF0000; }.')" + "assert(editor.match(/#FF0000/ig) && editor.match(/#FF0000/ig).length > 0, 'Use the hex code for the color red instead of the word red. For example body { color: #FF0000; }.')" ], "challengeSeed": [ "