From 84d48d220dd5d039427e2c7cbff6ed669f08fb0c Mon Sep 17 00:00:00 2001 From: Quincy Larson Date: Mon, 17 Aug 2015 10:18:28 -0700 Subject: [PATCH] Fix case insensitivity to colors --- challenges/html5-and-css.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/challenges/html5-and-css.json b/challenges/html5-and-css.json index 926676c9e4..ab8efd79ca 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": [ "