Respond in the comments of this issue with:
- What is something you learned that was particularly surprising/interesting?
- I didn't know that if you don't specify the
var
before declaring a variable in javascript, it will be a global variable. That seems a little dangerous if you forget that! - I also did not know that
$()
will always return a jQuery object even if the selector isn't found (so you want to look at the length of the array that's returned to make sure it's not empty) - Namespaced events seem incredibly useful.
- The event object is also very cool.
- What was something you already knew?
- Much of the JavaScript Basics was review for me.
- Traversing the DOM was also somewhat review (though I wish we had this reading in mod 3!).
- I knew some the shorthand methods for event handling.
- Was there anything you feel you still don't understand?
- I think I still need another example of event bubbling to really understand it.
- I am still not sure what jqXHR and deferred is and how to use it.