EmileeA / temperature-converter

0 stars 0 forks source link

JS - Output Color Change #10

Open EmileeA opened 5 years ago

EmileeA commented 5 years ago

Story As a user, when my temperature is converted, it should change color depending on the final temperature.

AC When the temperature is greater than 90F/32C the color of the converted temperature should be red. When the temperature is less than 32F/0C the color of the converted temperature should be blue. Then for any other temperature, the color should be green.

DN Modify domStringBuilder to add class (red, blue, green) depending on final temperature (use if statement) and the unit that gets passed Make CSS classes that change color attribute