A simple BMI (Body Mass Index) calculator in vanilla JS.
- Calculate BMI by weight (in kg) and height (in cm).
- Interpret the calculated BMI.
- Visualize the interpretation with a color-coded BMI scale.
The BMI value is interpreted into the following categories:
- Underweight: BMI < 18.5
- Healthy: 18.5 ≤ BMI < 24.9
- Overweight: 24.9 ≤ BMI < 29.9
- Obese: BMI ≥ 30
If you'd like to support me, consider buying me a coffee. Thanks!

