Skip to content

kaydee001/react-bmi-calc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BMI Calculator - React

A simple React application to calculate Body Mass Index (BMI) using useState and useEffect hooks. Users can input their height and weight, and the app will live convert these values into BMI along with the corresponding category type (e.g., Underweight, Normal weight, Overweight, Obese).

Code Overview (Hooks)

  • useState Used to manage the state for height, weight, BMI, and BMI category.

  • useEffect Used to perform the BMI calculation whenever the height or weight state changes.

Screenshots

  • Initial Look: picture alt

  • Input weight and height: picture alt

Contributing

If you encounter any issues or have suggestions for improvements, feel free to open an issue or submit a pull request on the GitHub repository.

This README provides a basic overview of the BMI calculator app. If you have any further questions or need assistance, don't hesitate to ask!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published