Skip to content

Latest commit

 

History

History

10-bmi_calculator

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

BMI Calculator

Description

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.

Features

  • 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.

BMI Categories

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

Technologies Used

  • JavaScript: Implements timer logic and interactivity.
  • HTML: Structures the application's layout.
  • CSS: Styles the application's appearance.

Setup

Follow these instructions to set up and run the BMI Calculator project:

  1. Clone the Repository:

    git clone https://github.com/phuchoa2001/ULTIMATE-JAVASCRIPT-PROJECT.git
    cd Basic Projects/10-bmi_calculator
  2. Open the Project: Open the index.html file in your preferred web browser to start the application.

  3. Open index.html in your web browser: You can open the index.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).

Contribution

Contributions to the BMI Calculator project are welcome. Follow these steps to contribute:

  1. Fork the Repository: Click the "Fork" button on the repository's GitHub page to create a copy of the repository under your GitHub account.

  2. Clone Your Fork:

    git clone https://github.com/your-username/countdown-timer.git
    cd Basic Projects/10-bmi_calculator
  3. Create a Branch: Create a new branch for your feature or bug fix.

    git checkout -b feature-name
  4. Make Changes: Make your changes to the codebase. Ensure your code follows the project's style guidelines.

  5. Commit Changes: Commit your changes with a descriptive commit message.

    git commit -m "Description of the changes"
  6. Push Changes: Push your changes to your forked repository.

    git push origin feature-name
  7. 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.

Get in Touch

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!