Skip to content

Sashmit17/BMI-Calculator-Application

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

BMI-Calculator-Application

A web-based application to calculate Body Mass Index (BMI) based on user inputs for gender, age, height, and weight. The app categorizes the BMI result into underweight, normal, overweight, or obese.

Features

  • Input fields for gender, age, height (in feet and inches), and weight.
  • Calculation of BMI using the formula: BMI = weight / (height * height) where height is converted to meters.
  • Provides BMI category:
    • Underweight
    • Normal weight
    • Overweight
    • Obese
  • Responsive and simple design.

Demo https://sashmit17.github.io/BMI-Calculator-Application/

How to Use

  • Fill in your gender, age, height (in feet and inches), and weight in kilograms.
  • Click the "Calculate BMI" button.
  • The result will show your BMI and the category it falls under (e.g., Normal Weight, Overweight).

Technologies Used

  • HTML: Provides the structure of the form for input and displaying results.
  • CSS: Adds a clean and simple styling for the form and results.
  • JavaScript: Manages the BMI calculation logic, form validation, and result display.

BMI Categories Based on the BMI value, the application categorizes the result as:

  • Underweight: BMI < 18.5
  • Normal Weight: 18.5 ≤ BMI < 24.9
  • Overweight: 25 ≤ BMI < 29.9
  • Obese: BMI ≥ 30

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published