Toast.js, a Library for Toast messages

Last week I created a small library for creating Toast messages. Here, I thought I would share my process in creating it and the code behind it. The Toast is made up of two elements. The Toast message itself, .toastjs, and a container element, .toastjs-container.