Skip to content

Latest commit

 

History

History
58 lines (36 loc) · 1.66 KB

File metadata and controls

58 lines (36 loc) · 1.66 KB

BMI-Calculator-App

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.

image

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.

Features

✅ 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

Example

BMI Calculator
Your BMI value is: 23.89
So you are: Healthy


User Flow

  1. User enters Height in centimeters

  2. User enters Weight in kilograms

  3. Clicks Calculate

  4. BMI value and category are displayed

  5. Button changes to Recalculate

  6. User can reset and enter new values


image