BMI Calculator web app built using HTML, CSS, and JavaScript, deployed inside Salesforce Experience Cloud using LWR template. Demonstrates UI development, client-side logic, and Salesforce Experience Builder integration.
The application allows users to enter their Height (in centimeters) and Weight (in kilograms) and instantly calculates their BMI. Based on the calculated BMI value, the app displays the corresponding health category along with guidance about what the BMI range means.
✅ Input fields for:
Height (cm)
Weight (kg)
✅ Real-time BMI calculation on button click
✅ Displays BMI value up to two decimal places
✅ Shows BMI category with health interpretation
✅ Dynamic button behavior:
Calculate → Calculates BMI
Recalculate → Resets inputs for new calculation
✅ Clean and responsive UI
✅ Built for Salesforce Experience Cloud using LWR template
BMI Calculator
Your BMI value is: 23.89
So you are: Healthy
-
User enters Height in centimeters
-
User enters Weight in kilograms
-
Clicks Calculate
-
BMI value and category are displayed
-
Button changes to Recalculate
-
User can reset and enter new values