In this project I have built the BMI calculator. BMI stands for Body Mass Index. It checks whether you are within a healthy weight range for your height or not. The BMI Calculator is hosted on a live server. You can calculate your BMI by visiting the following URL: BMI Calculator
I have styling using CSS, using slides library that is a CSS library built by Salesforce. Built a very small form using HTML and did the default HTML validation. Written logic in Javascript Used Lightning Web Runtime (LWR) template for building the site
For a new person who don't know what is BMI and what are the ranges of BMI. There is some description below this calculator so that they can understand based on the value they put in which range of BMI.
- The calculator has two form fields height and the weight height and centimetre weight in CG.
- There is a button for calculation based on the value that you're going to input.
- Enter the height and weight values in the fields on the form
- If you click on calculate, it will do the default HTML validation there. it picks the value, do the calculation and show your BMI range.
- Install Visual Studio Code, Salesforce Extensions in it
- Install Node.js
- Download SFDX CLI
- check if they are installed or not by giving commands 1) node -v, 2) sfdx on terminal in vs code and check for the versions
- Setup a Salesforce Developer Org for your project deployments
- Create your project and authorize it with the salesforce developer org created