Enter the InchesToCentimeters and CentimetersToInches functions from Figure 9.7 in a text file named convert.js. Then enter the text from Figure 9.8 into a new Web page (in the same location) and verify that it behaves as described. Once you

Enter the InchesToCentimeters and CentimetersToInches functions from Figure 9.7 in a text file named convert.js. Then enter the text from Figure 9.8 into a new Web page (in the same location) and verify that it behaves as described.

Once you have done this, modify the page so that it can also perform the opposite conversion, from centimeters to inches. You will need to add a new text box, where the user can enter a number of centimeters, and a button for carrying out the conversion. The converted value should be displayed in the same page division, outputDiv, as before?

This problem has been solved!


Do you need an answer to a question different from the above? Ask your question!
Posted Date: February 13, 2018 10:18:41