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.

Get Bootstrap 4 Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.