Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Using HTML and CSS, along with the bmi.jpg image, create a webpage that matches the layout of Screenshot2.png. Make sure to use unique IDs to

image text in transcribedUsing HTML and CSS, along with the bmi.jpg image, create a webpage that matches the layout of Screenshot2.png. Make sure to use unique IDs to the 3 text inputs, so you can read the values for weight & height, then write to the area by BMI Result 09 Inside the section, create a Javascript function called calcBMI, which reads the two values entered for height and weight. Use the formula: BMI = (weight_in_pounds * 703) / (height_in_inches * height_in_inches) to calculate the BMI. Apply the Math.round() function to the result to convert it to an integer. See http://www.w3schools.com/jsref/jsref_round.asp for more details. Write the variable to the BMI Result text input area. 10 Modify the Calculate BMI button to run calcBMI when clicked. Save and view the result in a browser. Enter 170 pounds for Weight and 72 inches for height, the click Calculate. The result should be 23. Take a screenshot and save the result as Homework2B-Screen1.png. Try different values for height and weight, calculate and take another screenshot. Save as Homework2B-Screen2.png

Chrome File Edit View History Bookmarks People Tab Window Help Handout 3 - Part 2 + + Co File /Users/dpearson100/Desktop/Handout2-Solution/Homework2-PartB-Solution.htm Bookmarks M Gmail emailSPC D2L at SPC 25 Calender Spotify Hype Computers SPC Fun Misc BMI Example Weight in pounds Height in inches Super Obese Morbidly Obese Severely Obese Obese Overweight Ideal BMI Underweight Calculate BMI BMI Result -19 19-25 25-30 30-34 35-39 40-49 +50

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Modern Database Management

Authors: Donald A. Carpenter Fred R. McFadden

1st Edition

8178088045, 978-8178088044

More Books

Students also viewed these Databases questions

Question

4. What sales experience have you had?

Answered: 1 week ago