Fixes description of jQuery waypoint

This commit is contained in:
Aniruddh Agarwal
2015-09-12 18:03:24 +08:00
parent e93901a57f
commit 0c7b1dbf5f

View File

@ -676,7 +676,7 @@
"title": "Target the Children of an Element Using jQuery",
"difficulty": 3.14,
"description": [
"Many HTML elements have <code>children</code> elements from which they <code>inherit</code> their properties.",
"Many HTML elements have <code>children</code> which <code>inherit</code> their properties from their parent HTML elements.",
"For example, every HTML element is a child of your <code>body</code> element, and your \"jQuery Playground\" <code>h3</code> element is a child of your <code>&#60;div class=\"container-fluid\"&#62</code> element.",
"jQuery has a function called <code>children()</code> that allows you to access the children of whichever element you've selected.",
"Here's an example of how you would use the <code>children()</code> function to give the children of your <code>left-well</code> element the background color of blue: <code>$(\"#left-well\").children().css(\"color\", \"blue\")</code>",