Javascript jquery
From wikinotes
Abstracts HTML DOM, CSS, events, AJAX.
Documentation
official docs https://api.jquery.com/ home https://jquery.com/
Tutorials
w3schools tut https://www.w3schools.com/jquery/default.asp
Example
function friendAndAddr() { var friend = $(this).children("h3")[0].innerText; var addr = $(this).children("p")[0].innerText; return `${friend}\n${addr}`; } var friendsWithAddr = $("article.friends").map(friendAndAddr); console.log(friendsWithAddr);
Notes
jquery datatypes jquery selectors jquery events jquery elements