From e7cae04c52d0e83027923fcb95fa84ae73ce8f99 Mon Sep 17 00:00:00 2001 From: natac13 Date: Thu, 22 Oct 2015 17:32:40 -0400 Subject: [PATCH] fixed unclear description for jQuery challenge using all selectors suggested by @trs4ece closes #3845 --- seed/challenges/jquery.json | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/seed/challenges/jquery.json b/seed/challenges/jquery.json index d4625a85a4..b0280aa0c3 100644 --- a/seed/challenges/jquery.json +++ b/seed/challenges/jquery.json @@ -255,8 +255,10 @@ "title": "Target the same element with multiple jQuery Selectors", "description": [ "Now you know three ways of targeting elements: by type: $(\"button\"), by class: $(\".btn\"), and by id $(\"#target1\").", - "Use each of these jQuery selectors to target your button element with the class btn and the id target1.", - "Use the addClass() jQuery function to give the element one new class for each selector: animated, shake, and btn-primary." + "Using each of the above jQuery selectors and the addClass() function:", + "Add the animated class to all elements with type button.", + "Add the shake class to all the buttons with class .btn.", + "Add the btn-primary class to the button with id #target1." ], "tests": [ "assert(editor.match(/\\$\\s*?\\(\\s*?(?:'|\")\\s*?button\\s*?(?:'|\")/gi), 'Use the $(\"button\") selector.')",