asimonia / ex_converter

NSS EXERCISE

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Create a button that, when clicked, displays the converted temperature. Create another button that, when clicked, clears any text in the input field. Add an event handler to the input field that checks if the user pressed the enter key, and if that happens, perform the conversion. If the temperature is greater than 90F/32C the color of the converted temperature should be red. If the temperature is less than 32F/0C the color of the converted temperature should be blue. For any other temperature, the color should be green.

About

NSS EXERCISE


Languages

Language:JavaScript 71.2%Language:HTML 28.8%