Create a library file named weather.js that contains the definitions of your dew point and wind chill
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 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 Answer: