How Cool Is It?

Celsius temperature: C

Fahrenheit temperature: F


<body bgcolor="#33cccc"><font face="Helvetica"><center>
 <h1>How Cool Is It? </h1>
 <script language="JavaScript">
   function convertC2F (tempInC) {
       return 9/5*tempInC + 32;
   }
   function convertF2C (tempInF) {
       return 5/9*(tempInF - 32);
   }
 </script>
<form name="therm">
  <h2> Celsius temperature:
      <input type=text name="textTempC" size=4
       onChange="document.therm.textTempF.value
       =convertC2F(document.therm.textTempC.value)"> C </h2>
  <h2> Fahrenheit temperature: 
       <input type=text name="textTempF" size=4
       onChange="document.therm.textTempC.value
       =convertF2C(document.therm.textTempF.value)"> F </h2>
</form></center>
</body>