Nalini1998 / BMI-Calculator

This code is a BMI (Body Mass Index) calculator. It uses two range sliders to input the user's height and weight, and calculates their BMI when the "Calculate" button is clicked.

Home Page:https://codepen.io/Nalini1998/live/RwEodjq/180b88e129eb14d4eec05d9ef25ca928

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

BMI Calculator

This code is a BMI (Body Mass Index) calculator. It uses two range sliders to input the user's height and weight, and calculates their BMI when the "Calculate" button is clicked.

The resulting BMI value and corresponding weight status ("Underweight", "Normal", "Overweight", or "Obese") are displayed in the results section. The code also includes styling and gradient effects for the range sliders and background of the weight status text.


BMI Calculator


A Pen created on CodePen.io. Click here to explore.


About

This code is a BMI (Body Mass Index) calculator. It uses two range sliders to input the user's height and weight, and calculates their BMI when the "Calculate" button is clicked.

https://codepen.io/Nalini1998/live/RwEodjq/180b88e129eb14d4eec05d9ef25ca928

License:MIT License


Languages

Language:JavaScript 39.8%Language:CSS 19.8%Language:SCSS 19.7%Language:HTML 16.7%Language:Pug 4.1%