A flexible and functional BMI calculator that works with both the metric system and the imperial system. Gives both results and feedback based on the inputs given by the user (height and weight).
There are four different states: underweight, healthy, overweight and obese. The "obese" state has three obesity classes to determine how severe the obesity is.
The program is will suggest the user a target weight that is the closest to the user's current height and is considered healthy. It also goes into detail, displaying how much weight the user should either gain or lose.
In order to use the program, you need to have Bootstrap installed.
npm i [email protected]
You can read more about Bootstrap here.
- Choose your measurement system by pressing one of the buttons at the top.
- Type in your height (meters/feet and centimeters/inches have separate boxes).
- Type in your weight in either kilograms or pounds, depending on the system you use.
- Submit the results and your BMI will be displayed at the bottom.