Skip to content

BrandoTheDeveloper/BMI-Calculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

BMI Calculator

Overview

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.

How to Use

  1. Enter your weight in pounds.
  2. Enter your height in inches.
  3. Click on the 'Submit' button to get your BMI.
  4. Click on the 'Clear' button to clear all fields and restart.

What is BMI?

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.

BMI Categories

  • Underweight = <18.5
  • Normal weight = 18.5–24.9
  • Overweight = 25–29.9
  • Obesity = BMI of 30 or greater

Note

This calculator provides a rough estimate and should not be considered medical advice. Always consult with a healthcare provider for advice.

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License

MIT

Remember to replace the license link with the actual link to your license file. Happy coding! 😊