- PUT
- RESTful get to view, post to create, put with id to edit
- AJAX: Asynchronous JavaScript and XML
- use of the XMLHttpRequest object to communicate with server-side scripts. It can send as well as receive information in a variety of formats, including JSON, XML, HTML, and even text files
- API's
-
$('#slider .slides').animate({'margin-left': -720}, 1000)
-
$('#slider .slides').animate({'margin-left': '-=720'}, 1000)
-
photo source: https://creativemarket.com/alohaphilly/858894-Pool-Social-Media-Photo-5-Pack
- any time a variable is defined using a jquery selector add $ to front
https://www.youtube.com/watch?v=LYKRkHSLE2E&index=4&list=PLoYCgNOIyGABdI2V8I_SWo22tFpgh2s6_
-
$('li').eq(4).parent().parent().parent()
-
$('li:first').parent()
-
$('li:first').siblings()
-
$('ul:first').children()
-
$('li').first().toggle()
-
$('li').eq(4).parent().parent().prev().prev()
-
jquery is made to be a DOM traversal tool -- document object model