Introduction
Making jQuery plugins can be a very rewarding learning experience. It is good for understanding both jQuery and the inner workings of JavaScript. With so many jQuery plugins available online, and with so many used to extend Bootstrap's capabilities, it is an invaluable piece of knowledge for any frontend developer. In this chapter, we will look at creating the simplest possible jQuery plugin, then we'll build on the foundations and add more options to tweak and extend our plugins.