How to Use
Select Unit System: Choose "Metric (kg, cm)" or "Imperial (lbs, inches)" from the dropdown.
Enter Weight: Input your weight in the selected units (e.g., 70 kg or 154 lbs).
Enter Height: Input your height in the selected units (e.g., 170 cm or 67 inches).
Calculate BMI: Click "Calculate BMI" or press Enter in either input field to compute the BMI.
View Result: The BMI value (rounded to 1 decimal place) and category (e.g., Normal weight) appear in the result area.
Copy to Clipboard: Click "Copy" to copy the BMI value to your clipboard.
Input Validation: Displays an error if inputs are invalid (non-numeric or non-positive).
Features
Responsive Design: Uses Tailwind CSS for a clean, mobile-friendly interface.
Real-Time Updates: Updates unit labels and recalculates BMI when the unit system changes.
Dual Units: Supports metric (kg, cm) and imperial (lbs, inches) units.
BMI Categories: Displays the BMI category (Underweight, Normal weight, Overweight, Obesity) based on WHO standards.
Copy Functionality: Easily copy the BMI value to the clipboard.
Precision: BMI is rounded to 1 decimal place for simplicity.