Loading repository data…
Loading repository data…
AsifpMulla123 / repository
🧮 Javascript BMI calculator that computes body mass index and categorizes fitness levels with real-time input handling.
BMI Calculator is an interactive health utility designed to provide users with immediate insight into their body mass status. Built with vanilla JavaScript, it translates raw physiological data into actionable health categories, offering a seamless and responsive experience for fitness tracking.
⚡ Mission: To simplify health monitoring by providing a fast, accurate, and accessible tool for Body Mass Index calculation.
This project serves as a practical implementation of mathematical modeling and conditional logic within the browser. It focuses on:
The Problem: Calculating BMI manually—especially squaring height and handling decimal conversions—is cumbersome and prone to error. Furthermore, a raw BMI number is often meaningless to users without the context of health categories.
The Solution: This application automates the entire pipeline. It takes simple metric inputs, runs the calculation, and instantly provides both a score and a clear classification (e.g., "Normal weight" or "Overweight"), eliminating all guesswork.
The application executes the standard metric BMI formula:
$$BMI = \frac{weight\ (kg)}{height\ (m)^2}$$
| Category | Technology |
|---|---|
| Structure | HTML5 (Semantic Forms) |
| Styling | CSS3 (Flexbox & Responsive Breakpoints) |
| Logic | Vanilla JavaScript (ES6+) |
This project is a standalone frontend utility with no dependencies:
Clone the Repo
git clone https://github.com/AsifpMulla123/BMI-Calculator.git
cd BMI-Calculator
Launch
Simply open the index.html file in any modern web browser to start calculating.
localStorage to monitor progress.If you found this health tool useful, please give it a ⭐!