summaryrefslogtreecommitdiffhomepage
path: root/jquery.html.markdown
diff options
context:
space:
mode:
Diffstat (limited to 'jquery.html.markdown')
-rw-r--r--jquery.html.markdown10
1 files changed, 8 insertions, 2 deletions
diff --git a/jquery.html.markdown b/jquery.html.markdown
index d498733d..18077dca 100644
--- a/jquery.html.markdown
+++ b/jquery.html.markdown
@@ -3,6 +3,7 @@ category: tool
tool: jquery
contributors:
- ["Sawyer Charles", "https://github.com/xssc"]
+ - ["Devansh Patil", "https://github.com/subtra3t"]
filename: jquery.js
---
@@ -10,6 +11,7 @@ jQuery is a JavaScript library that helps you "do more, write less". It makes ma
Because jQuery is a JavaScript library you should [learn JavaScript first](https://learnxinyminutes.com/docs/javascript/)
+**NOTE**: jQuery has fallen out of the limelight in recent years, since you can achieve the same thing with the vanilla DOM (Document Object Model) API. So the only thing it is used for is a couple of handy features, such as the [jQuery date picker](https://api.jqueryui.com/datepicker) (which actually has a standard, unlike the `<input type="date">` HTML element), and the obvious decrease in the code length.
```js
@@ -104,7 +106,7 @@ tables.animate({margin-top:"+=50", height: "100px"}, 500, myFunction);
// 3. Manipulation
// 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
$('p').append('Hello world'); // Adds to end of element
@@ -125,4 +127,8 @@ $('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.