From 34760ae3757ff4618f45cc0aa876ac523e2a53b3 Mon Sep 17 00:00:00 2001 From: natac13 Date: Fri, 4 Sep 2015 08:11:44 -0400 Subject: [PATCH] fix misleading description that leads to issues being submitted. closes #3044 closes #2980 closes #2805 closes #2337 --- seed/challenges/jquery.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/seed/challenges/jquery.json b/seed/challenges/jquery.json index 6f74e6ec11..4df308b372 100644 --- a/seed/challenges/jquery.json +++ b/seed/challenges/jquery.json @@ -623,7 +623,8 @@ "For example, your jQuery Playground h3 element has the parent element of <div class=\"container-fluid\">, which itself has the parent body.", "jQuery has a function called parent() that allows you to access the parent of whichever element you've selected.", "Give the parent of the #target1 element background-color of red.", - "Here's an example of how you would use the parent() function: $(\"#left-well\").parent().css(\"background-color\", \"blue\")" + "Here's an example of how you would use the parent() function: $(\"#left-well\").parent().css(\"background-color\", \"blue\")", + "Note: Please do not use this example in the challenge; it will target the incorrect element." ], "tests": [ "assert($(\"#left-well\").css(\"background-color\") === 'red' || $(\"#left-well\").css(\"background-color\") === 'rgb(255, 0, 0)' || $(\"#left-well\").css(\"background-color\").toLowerCase() === '#ff0000' || $(\"#left-well\").css(\"background-color\").toLowerCase() === '#f00', 'Your left-well element should have a red background.')",