Introduction

Creating such a component is really simple and requires a few lines of code, as long as you’re already using jQuery on your website (which is very likely). If you aren’t, you’ll just need to import it.

Importing jQuery

Lorenzo Dellacà

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store