BMI Calculator is a web application that allows users to calculate their Body Mass Index (BMI) based on their height and weight. It provides a quick and easy way to determine if a person's weight falls within a healthy range for their height. The application also categorizes the BMI result into different weight categories, such as underweight, normal weight, overweight, or obese.
- BMI Calculation: Enter height and weight to calculate BMI.
- BMI Category: Displays the corresponding BMI category based on the calculated value.
- Dark Mode: Toggle between light and dark themes for comfortable viewing.
- Responsive Design: Adapts to different screen sizes for optimal user experience.
The BMI Calculator uses the following BMI categories based on the World Health Organization (WHO) guidelines for adults:
- Underweight: BMI < 18.5
- Normal weight: BMI between 18.5 and 24.9
- Overweight: BMI between 25 and 29.9
- Obese: BMI ≥ 30
- JavaScript: Implements timer logic and interactivity.
- HTML: Structures the application's layout.
- CSS: Styles the application's appearance.
Follow these instructions to set up and run the BMI Calculator project:
-
Clone the Repository:
git clone https://github.com/phuchoa2001/ULTIMATE-JAVASCRIPT-PROJECT.git cd Basic Projects/10-bmi_calculator
-
Open the Project: Open the
index.html
file in your preferred web browser to start the application. -
Open
index.html
in your web browser: You can open theindex.html
file directly in your web browser by double-clicking on it or by using a live server extension in your code editor (like Live Server for VSCode).
Contributions to the BMI Calculator project are welcome. Follow these steps to contribute:
-
Fork the Repository: Click the "Fork" button on the repository's GitHub page to create a copy of the repository under your GitHub account.
-
Clone Your Fork:
git clone https://github.com/your-username/countdown-timer.git cd Basic Projects/10-bmi_calculator
-
Create a Branch: Create a new branch for your feature or bug fix.
git checkout -b feature-name
-
Make Changes: Make your changes to the codebase. Ensure your code follows the project's style guidelines.
-
Commit Changes: Commit your changes with a descriptive commit message.
git commit -m "Description of the changes"
-
Push Changes: Push your changes to your forked repository.
git push origin feature-name
-
Create a Pull Request: Open a pull request from your fork's branch to the main repository's
main
branch. Provide a clear description of your changes and the purpose of the pull request.
If you have any questions or need further assistance, feel free to open an issue on GitHub or contact us directly. Your contributions and feedback are highly appreciated!
Thank you for your interest in the BMI Calculator project. Together, we can build a more robust and feature-rich application. Happy coding!