From 0dec10e0fb1a48d1204209c46e82bcd1fc71b15f Mon Sep 17 00:00:00 2001 From: jpdail01 Date: Thu, 8 Feb 2018 01:02:57 -0500 Subject: [PATCH] Select div by element instead of by class to test background-color (#16638) --- challenges/01-responsive-web-design/basic-css.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/challenges/01-responsive-web-design/basic-css.json b/challenges/01-responsive-web-design/basic-css.json index 686cfcb5e36..e7f2ab6e2f9 100644 --- a/challenges/01-responsive-web-design/basic-css.json +++ b/challenges/01-responsive-web-design/basic-css.json @@ -1466,7 +1466,7 @@ ], "tests": [ "assert($(\"div\").hasClass(\"silver-background\"), 'message: Give your div element the class silver-background.');", - "assert($(\".silver-background\").css(\"background-color\") === \"rgb(192, 192, 192)\", 'message: Your div element should have a silver background.');" + "assert($(\"div\").css(\"background-color\") === \"rgb(192, 192, 192)\", 'message: Your div element should have a silver background.');" ], "type": "waypoint", "challengeType": 0,