Skip to content

This BMI (Body Mass Index) calculator is a simple web application designed to help users calculate their body mass index.

Notifications You must be signed in to change notification settings

riizkyyrmdnn/bmi-calculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BMI Calculator

The Body Mass Index (BMI) Calculator can be used to calculate BMI value and corresponding weight status while taking age into consideration. Use the "Metric Units" tab for the International System of Units or the "Other Units" tab to convert units into either US or metric units. Note that the calculator also computes the Ponderal Index in addition to BMI, both of which are discussed below in detail.

Features

  • Status check
  • Advice message
  • Chart

How does it work?

  • User Inputs Data: The user enters their height (in cm) and weight (in kg) into the provided input.
  • BMI Calculation: When the user clicks the "Calculate" button, JavaScript will retrieve the input values, calculate the BMI using the BMI formula (weight / (height/100)^2), and store the result in a variable.
  • Displaying Results: The BMI calculation result is then displayed on the web page, along with the corresponding weight category based on the obtained BMI value.

Screenshot

Preview image

Installation

Clone this repository using the steps below.

  # Clone repository
  git clone https://github.com/riizkyyrmdnn/bmi-calculator.git

  # Change directory folder
  cd bmi-calculator

  # Open code editor
  code .

Use this script in your HTML file to display QR code.

  <script src="https://cdn.jsdelivr.net/npm/chart.js"></script>

Source

chartjs

Support

For support, email riybuzniz@gmail.com.

Feedback

If you have any feedback, please reach out to us at riybuzniz@gmail.com

License

No License

About

This BMI (Body Mass Index) calculator is a simple web application designed to help users calculate their body mass index.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published