Problem Instruction clarrification
Replaced with correct instruction to the problem.
This commit is contained in:
@ -730,7 +730,7 @@
|
|||||||
"description": [
|
"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.",
|
"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.",
|
"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.",
|
"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>"
|
"Here's how you would give the third element in each well bounce: <code>$(\".target:nth-child(3)\").addClass(\"animated bounce\");</code>"
|
||||||
],
|
],
|
||||||
|
Reference in New Issue
Block a user