Merge pull request #1961 from abhisekp/patch-3

Problem Instruction clarrification
This commit is contained in:
benmcmahon100
2015-08-17 23:51:07 +01:00

View File

@@ -730,7 +730,7 @@
"description": [
"You've seen why id attributes are so convenient for targeting with jQuery selectors. But you won't always have such neat ids to work with.",
"Fortunately, jQuery has some other tricks for targeting the right elements.",
"jQuery has a function called <code>:nth-child()</code> that will allow you select the nth element of a certain class or element type.",
"jQuery uses CSS Selectors to target elements. <code>target:nth-child(n)</code> css selector allows you to select all the nth element with the target class or element type.",
"Make the second child in each of your well elements bounce.",
"Here's how you would give the third element in each well bounce: <code>$(\".target:nth-child(3)\").addClass(\"animated bounce\");</code>"
],