Question: Create a library file named weather.js that contains the definitions of your dew point and wind chill functions. Then, create a Web page named indexes.html
Create a library file named weather.js that contains the definitions of your dew point and wind chill functions. Then, create a Web page named indexes.html that has text boxes where the user can enter the temperature, humidity, and wind speed. The page should load the weather.js library and call the appropriate functions to display the dew point or wind chill at the click of a button.
Use your page to determine the dew point under the following conditions:
temperature = 85° F humidity = 60%
temperature = 95° F humidity = 75%
temperature = 100° F humidity = 90%
Use your page to determine the wind chill under the following conditions:
temperature = 20° F wind speed = 10 mph
temperature = 10° F wind speed = 20 mph
temperature = 0° F wind speed = 30 mph
Step by Step Solution
3.45 Rating (165 Votes )
There are 3 Steps involved in it
function Wind Chilltemp wind Assumes temp is a temperature in Fahrenheit wind is wind s... View full answer
Get step-by-step solutions from verified subject matter experts
Document Format (1 attachment)
1409-C-S-O-S(1018).docx
120 KBs Word File
