Skip to content

Instantly share code, notes, and snippets.

@bethsecor
Created March 20, 2016 19:50
Show Gist options
  • Save bethsecor/6315353fddf7ffa902dd to your computer and use it in GitHub Desktop.
Save bethsecor/6315353fddf7ffa902dd to your computer and use it in GitHub Desktop.

Respond in the comments of this issue with:

  1. 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.
  1. 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.
  1. 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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment