From Bocoup's jQuery Fundamentals
- What is something you learned that was particularly surprising/interesting?
-
This is tricky: $() function always returns a jQuery object, and an object is always truthy, so sometimes it's hard to know if you've actually selected what you wanted to select.
-
Jquery has methods that can generate HTML with $()
$( '<p>', { html: 'Hello!', 'class': 'greet' });
-
You can clone objects? whatttt
-
Namespaced events are pretty cool
- What was something you already knew?
- How to select stuff
- Chaining
- Altering elements
- AJAX
- Was there anything you feel you still don't understand?
- With es6, arrow functions change the way
thisis handled. This can affect you jQuery - Event bubbling and delegation, still need more practice with this