Course Solutions Uncategorized (Solved) : Need Help Making Code Change Php Based Html Body Mass Index Bmi Bmi Calculator Weight Kg H Q29950846 . . . .

(Solved) : Need Help Making Code Change Php Based Html Body Mass Index Bmi Bmi Calculator Weight Kg H Q29950846 . . . .

 

ineed help making this with this code below: change to a php based
//html:
<!DOCTYPE html><html><head><title>Body Mass Index-BMI</title><meta charset=”UTF-8″><link rel=”stylesheet” href=”style.css” type=”text/css”title=”OrangeLook” /><linkhref=”https://stackpath.bootstrapcdn.com/bootstrap/4.1.1/css/bootstrap.min.css”rel=”stylesheet”integrity=”sha384-WskhaSGFgHYWDcbwN70/dfYBj47jz9qbsMId/iRN3ewGhXQFZCSftd1LZCfmhktB”crossorigin=”anonymous”><script src=”BMI.js”></script></head><body><div class=”container”><div class=”row”><div class=”col-sm”><div class=”card text-center”><div class=”card-header”><h1>BMI Calculator</h1></div><div class=”card-body”><div class=”input-group mb-3″><div class=”input-group-prepend”><span class=”input-group-text”>Weight</span></div><input type=”text” class=”form-control”id=”weight”><div class=”input-group-append”><span class=”input-group-text”>in kg</span></div></div><div class=”input-group mb-3″><div class=”input-group-prepend”><span class=”input-group-text”>Height</span></div><input type=”text” class=”form-control”id=”height”><div class=”input-group-append”><span class=”input-group-text”>in kg</span></div></div><button id=”btnCalculateBMI” class=”btn btn-outline-warningbtn-block”>Calculate BMI</button></div><div class=”card-footer text-muted”><div class=”bmiResult”><h2>Your Body Mass Index =</h2><span class=”badge badge-pill badge-info”id=”result”>0.00</span></div></div></div></div></div></div></body></html>//Js:
var BMI = {init: function() {BMI.buttonClick();},buttonClick: function() {var button = document.getElementById(‘btnCalculateBMI’);button.onclick = function() {BMI.checkValues();BMI.calculateBMI();};},calculateBMI: function() {var height =parseFloat(document.getElementById(‘height’).value);var weight =parseFloat(document.getElementById(‘weight’).value);var result = document.getElementById(‘result’);result.innerHTML = (weight * 100 * 100/ (height *height)).toFixed(2);},checkValues: function() {var flag=0;var height = document.getElementById(‘height’).value;var weight =

OR

PayPal Gateway not configured

OR

PayPal Gateway not configured

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Post

(Solved) : Java Problem Instructions 1 Initial Configuration Application Shall Create Window Two Butt Q27398925 . . . .(Solved) : Java Problem Instructions 1 Initial Configuration Application Shall Create Window Two Butt Q27398925 . . . .

<p>Java problem!!</p><p>Instructions:</p><p><strong>1. Initial configuration</strong></p><p>The application shall create a window with two buttons and alabel.</p><p>The first button shall be labeled "Start".</p><p>The second buttons shall be labeled "Reset".</p><p>The label shall display the