Throughout the book you've focused on learning the basics of the DOM. You used the standard set of DOM methods to perform common tasks and learned how best to apply those methods in your scripts. You may have noticed that sometimes your code was a little verbose and repetitive. Restricting yourself to only DOM methods such as
document.getElementById can get tiring, especially when libraries provide almost magical functions like
$ that do even more.
Libraries are packages of reusable code that offer a number of advantages.
Their code has been tested and proven by a large user base.
They can easily fit into your existing development frameworks.
They provide quick, elegant solutions for most of your mundane day-to-day ...