Skip to content

Instantly share code, notes, and snippets.

@stevepentler
Created March 17, 2016 20:08
Show Gist options
  • Save stevepentler/3c8df2ed16e9dfa245d6 to your computer and use it in GitHub Desktop.
Save stevepentler/3c8df2ed16e9dfa245d6 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?
  • Speceific selection ex: $('li').eq(1) to get the second list item without using an #id
  • I had no idea that you could chain events, ex: calling a click function AND a key-up function on the same selector
  • Expanding on that, you can pass in multiple events in a space seperated string, ex: $('li').on('click keydown', function()...
  1. What was something you already knew?
  • How to target selectors
  • Filtering
  1. Was there anything you feel you still don't understand?
  • I haven't put much of this into practice, and using the chrome console to debug isn't comfortable yet.
  • It seems like there are a lot of options for AJAX and event listeners, and I struggle when there isn't a set convention.

Feel free to ask any questions about jQuery fundamentals here as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment