This video will show you how to create widgets for your website(s).
What's your platform, WordPress or non-WordPress?
Adding the code snippet to your WordPress is very easy. You can actually do this in so many different ways. For the sake of convenience, we shall use a plugin.
Head over to the WordPress dashboard, and click on Plugins in the dashboard menu
Search for a plugin called "Insert Headers and Footers" by WPBeginner (Image below)
Once you've installed this plugin, hover your mouse on "Settings" (on the WordPress dashboard) and click on "Insert Heads and Footers." Depending on your version of WordPress you may need to locate this option by clickgin on "Tools" as opposed to "Settings" but it should be fairly easy to locate.
The final step will be to place the code snippet into the "FOOTER code" section box and click save.
Once you paste the code snippet on there and click save, you should be all set. Someone times certain plugins running high loads of JavaScript might be affected, however, when this happens, try pasting the code snippet in the "HEADER code" section and reduce the priority scale from 10 to 1
All you have to do for this is to paste the code before the closing body tag. The closing body tag looks like that in the image above.