Skip to content

JoinCODED/TASK-JS-bmi-calculator-dom

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

BMI-Calculator

Fork and clone this repo BMI is Body Mass Index, and we usually use it to measure if our weight is within the normal range, or not.

Instructions

1. Challenge 1 :

  1. go to index.js file and use the variables to calculate the BMI, the equation for BMI is (weight (kg) / height^2(m)), dont forget to convert cm to m
  2. show the results in an alert

2. Challenge 2 :

  1. using the result you calculated in challenge 1 and check the BMI state
    1. Below 18.5 Underweight
    2. 18.5 – 24.9 Healthy Weight
    3. 25.0 – 29.9 Overweight
    4. 30.0 and Above Obesity
  2. show the BMI state in an alert

3. Challenge 3 :

  1. using the result you calculated in challenge 1 check the BMI state BUT based on age
  2. use the following table for reference bmi
  3. show Healthy or Not Healthy in an alert

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •