This is a simple CBD calculator intended to be used by people who want to display a CBD calculator on their website.
Usage:
To use this plugin, just add the shortcode [flaver-cbd-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:
- Volume / Bottle Size of CBD Purchased (ml)
- Strength of CBD Purchased (mg)
- How Much CBD do you Require Each Day (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.