EmileeA / temperature-converter

0 stars 0 forks source link

JS - Convert Temp Function #7

Open EmileeA opened 5 years ago

EmileeA commented 5 years ago

Story As a user, when I click the convert button, the correct temperature should display in the output.

AC When I click convert, Then the correct converted temp should display.

DN write toCelsius function to convert fahrenheit temps to celsius (math in notes) toCelsius should printToDom the new temperature + ' Celsius' in an H3 write toFahrenheit function to convert celsius temps to fahrenheit (math in notes) toFahrenheit should printToDom the new temperature + ' Fahrenheit' in an H3 use math.round on toCelsius & toFahrenheit write determineConverter function with conditionals to call toCelsius when fahrenheit radio dial is selected and toFahrenheit when celsius is selected

EmileeA commented 5 years ago

Grab calculation from this site: https://www.w3schools.com/js/tryit.asp?filename=tryjs_celsius