title: Fahrenheit to Celsius Converter
body: <p>I am trying to have a text box, and a button next to it. When you click the button, I want to convert to Fahrenheit or Celsius and display in another text box. I only have the Fahrenheit to Celsius done and I can just copy the code over when I am done.</p>
  
  <pre><code>&lt;!DOCTYPE html&gt;
  &lt;html&gt;
  &lt;head&gt;
  &lt;center&gt;
  &lt;h1&gt; Fahrenheit to Celsius Converter&lt;/h1&gt; 
  &lt;font size="+1" &gt; 
  &lt;p&gt; Fahrenheit to Celsius&lt;/p&gt;
  &lt;input type="text" name="ftc" id="ftc"/&gt; &lt;button type="button" onclick="fahrenheitCelsius()" /&gt; Click to Convert &lt;/button&gt;
  &lt;p&gt;Celsius to Fahrenheit &lt;/p&gt;
  &lt;input type="text" name="ctf" id="ctf" /&gt; &lt;button type="button" onclick="celsiusFahrenheit()" /&gt; Click to Convert &lt;/button&gt;
  &lt;p&gt; Answer &lt;/p&gt;
  &lt;input type="text" name="answer box" id="answer/&gt; 
  &lt;script&gt;
  
   function fahrenheitCelsius() {  
      var fsc = parseFloat(document.getElementById('ftc').value);
      var cfc = (fsc-32) * (5/9);
      document.getElementById('answer box').value = cfc;
      return false; 
      document.writeIn(&lt;input type="text" name="answer box" id="answer"/&gt;)
      }
  
  &lt;/script&gt;
  &lt;/font&gt;
  &lt;/head&gt;
  &lt;/html&gt;
  </code></pre>