From 42195235600491ff4445fad7fa1c8ed5b9153a8e Mon Sep 17 00:00:00 2001 From: SAHIL NEGI <89196598+sahilnegi1@users.noreply.github.com> Date: Thu, 13 Oct 2022 00:16:32 +0530 Subject: [PATCH] Updated bmi.html updated with BMI calculator --- bmi.html | 203 ++++++++++++++++++++++++++++++++++++------------------- 1 file changed, 134 insertions(+), 69 deletions(-) diff --git a/bmi.html b/bmi.html index 985e2c3..8042974 100644 --- a/bmi.html +++ b/bmi.html @@ -1,72 +1,137 @@ - - + + + + + + Calculator using HTML Example + + + + + + + +
+ Calculate Your Body Mass Index - h1 { - color: white; - text-align: center; - } - - p { - color: white; - } - - button { - background: #e2eaf0; - background-image: -webkit-linear-gradient(top, #e2eaf0, #2f3a40); - background-image: -moz-linear-gradient(top, #e2eaf0, #2f3a40); - background-image: -ms-linear-gradient(top, #e2eaf0, #2f3a40); - background-image: -o-linear-gradient(top, #e2eaf0, #2f3a40); - background-image: linear-gradient(to bottom, #e2eaf0, #2f3a40); - -webkit-border-radius: 28; - -moz-border-radius: 28; - border-radius: 28px; - font-family: Courier New; - color: #ffffff; - font-size: 30px; - padding: 10px 20px 10px 20px; - text-decoration: none; - } - - button:hover { - background: #f7f7f7; - background-image: -webkit-linear-gradient(top, #f7f7f7, #030303); - background-image: -moz-linear-gradient(top, #f7f7f7, #030303); - background-image: -ms-linear-gradient(top, #f7f7f7, #030303); - background-image: -o-linear-gradient(top, #f7f7f7, #030303); - background-image: linear-gradient(to bottom, #f7f7f7, #030303); - text-decoration: none; - } - -
-

BMI Calculator

- - -

Height (in cm)

- - - -

Weight (in kg)

- - - -

- -
-
- - - - +
+
+ + As BMI=(Weight/Height*Height) +
+
+ + + + + + + + +
+ +
+
+ + + + +
+ + + + +
+ + + + +
+ + + + +
+
+
+ +