add jQuery resource

This commit is contained in:
Apoorv Choubey 2018-10-20 21:30:06 +05:30
parent 9e2bd7c11b
commit 3724e4e27c

View File

@ -104,7 +104,7 @@ tables.animate({margin-top:"+=50", height: "100px"}, 500, myFunction);
// 3. Manipulation // 3. Manipulation
// These are similar to effects but can do more // These are similar to effects but can do more
$('div').addClass('taming-slim-20'); // Adds class taming-slim-20 to all div $('div').addClass('taming-slim-20'); // Adds class taming-slim-20 to all div
// Common manipulation methods // Common manipulation methods
$('p').append('Hello world'); // Adds to end of element $('p').append('Hello world'); // Adds to end of element
@ -126,3 +126,7 @@ $('p').each(function() {
``` ```
## Further Reading
* [Codecademy - jQuery](https://www.codecademy.com/learn/learn-jquery) A good introduction to jQuery in a "learn by doing it" format.