This is a simple Body Mass Index (BMI) calculator built with vanilla JavaScript. The calculator takes a person's weight and height in imperial measurements (pounds and inches) and returns the calculated BMI.
- Enter your weight in pounds.
- Enter your height in inches.
- Click on the 'Submit' button to get your BMI.
- Click on the 'Clear' button to clear all fields and restart.
Body Mass Index (BMI) is a measure of body fat based on an individual's weight and height. It is widely used as a simple method to assess whether a person has a healthy body weight for a given height.
- Underweight = <18.5
- Normal weight = 18.5–24.9
- Overweight = 25–29.9
- Obesity = BMI of 30 or greater
This calculator provides a rough estimate and should not be considered medical advice. Always consult with a healthcare provider for advice.
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Remember to replace the license link with the actual link to your license file. Happy coding! 😊