This is a simple nicotine-shot calculator intended to be used by people who want to display a nic-shot calculator on their website.
Usage:
To use this plugin, just add the shortcode [flaver-nicshot-calculator] to any page or post where you want the calculator to appear.
The plugin has been designed to be as simple and plain as possible, so that it inherits your Wordpress theme settings, but you can easily style the plugin using CSS as each HTML element has it's own ID or class.
It takes 3 input variables:
- Target bottle / batch size (ml)
- Target nicotine strength (mg)
- Nicotine base (mg)
The resulting calculation is computed when the user enters these three values. This is a vanilla JavaScript plugin that does not require any external JavaScript libraries.