Currency Converter with Js
<p>So i want to create a simple currency converter using Js and i want to do it by creating to list with 5 available coins(USD,EUR,GPB,AUD and JPY) and user must select from first list the coin he want to convert and the at the second list he must select what coin currency he want as a result.Here is what i have done so far:</p>

<p><div class="snippet" data-lang="js" data-hide="false">
<div class="snippet-code">
<pre class="snippet-code-js lang-js prettyprint-override"><code>function calculate() {
  var amount = parseFloat(document.getElementById("amount").value);
  var select = document.getElementById("select");
  var select1 = document.getElementById("select1");
  var result = document.getElementById("result");

  if (select.value === "USD") &amp;&amp; (select1.value === "USD")  {
    result.value = (amount * 1);
  }
  if (select.value === "USD") &amp;&amp; (select1.value === "EUR")  {
    result.value = (amount * 0.88);
  }
  if (select.value === "USD") &amp;&amp; (select1.value === "AUD")  {
    result.value = (amount * 1.37);
  }
  if (select.value === "USD") &amp;&amp; (select1.value === "GBP")  {
    result.value = (amount * 0.69);
  }
  if (select.value === "USD") &amp;&amp; (select1.value === "JPY")  {
    result.value = (amount * 108.96);
  }
  if (select.value === "EUR") &amp;&amp; (select1.value === "EUR")  {
    result.value = (amount * 1);
  }
  if (select.value === "EUR") &amp;&amp; (select1.value === "USD")  {
    result.value = (amount * 1.13);
  }
  if (select.value === "EUR") &amp;&amp; (select1.value === "AUD")  {
    result.value = (amount * 1.55);
  }
  if (select.value === "EUR") &amp;&amp; (select1.value === "GBP")  {
    result.value = (amount * 0.79);
  }
  if (select.value === "EUR") &amp;&amp; (select1.value === "JPY")  {
    result.value = (amount * 123.47);
  }
  if (select.value === "EUR") &amp;&amp; (select1.value === "EUR")  {
    result.value = (amount * 1);
  }
  if (select.value === "EUR") &amp;&amp; (select1.value === "USD")  {
    result.value = (amount * 1.13);
  }
  if (select.value === "EUR") &amp;&amp; (select1.value === "AUD")  {
    result.value = (amount * 1.55);
  }
  if (select.value === "EUR") &amp;&amp; (select1.value === "GBP")  {
    result.value = (amount * 0.79);
  }
  if (select.value === "EUR") &amp;&amp; (select1.value === "JPY")  {
    result.value = (amount * 123.47);
  }
  if (select.value === "GPB") &amp;&amp; (select1.value === "EUR")  {
    result.value = (amount * 1.27);
  }
  if (select.value === "GPB") &amp;&amp; (select1.value === "USD")  {
    result.value = (amount * 1.44);
  }
  if (select.value === "GPB") &amp;&amp; (select1.value === "AUD")  {
    result.value = (amount * 1.98);
  }
  if (select.value === "GPB") &amp;&amp; (select1.value === "GBP")  {
    result.value = (amount * 1);
  }
  if (select.value === "GPB") &amp;&amp; (select1.value === "JPY")  {
    result.value = (amount * 157.08);
  }
  if (select.value === "AUD") &amp;&amp; (select1.value === "EUR")  {
    result.value = (amount * 0.64);
  }
  if (select.value === "AUD") &amp;&amp; (select1.value === "USD")  {
    result.value = (amount * 0.73);
  }
  if (select.value === "AUD") &amp;&amp; (select1.value === "AUD")  {
    result.value = (amount * 1);
  }
  if (select.value === "AUD") &amp;&amp; (select1.value === "GBP")  {
    result.value = (amount * 0.51);
  }
  if (select.value === "AUD") &amp;&amp; (select1.value === "JPY")  {
    result.value = (amount * 79.51);
  }
  if (select.value === "JPY") &amp;&amp; (select1.value === "EUR")  {
    result.value = (amount * 0.0081);
  }
  if (select.value === "JPY") &amp;&amp; (select1.value === "USD")  {
    result.value = (amount * 0.0092);
  }
  if (select.value === "JPY") &amp;&amp; (select1.value === "AUD")  {
    result.value = (amount * 0.013);
  }
  if (select.value === "JPY") &amp;&amp; (select1.value === "GBP")  {
    result.value = (amount * 0.0064);
  }
  if (select.value === "JPY") &amp;&amp; (select1.value === "JPY")  {
    result.value = (amount * 1);
  }
}</code></pre>
<pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;h1&gt;Convert US Dollars to Euros &lt;/h1&gt;
&lt;form&gt;
  &lt;p&gt;
    &lt;label for="amount"&gt;Amount:&lt;/label&gt;
    &lt;input type="text" id="amount" value=""&gt;
    &lt;select id="select"&gt;
      &lt;option value="USD"&gt;USD &lt;/option&gt;
      &lt;option value="EUR"&gt;EUR &lt;/option&gt;
      &lt;option value="GPB"&gt;GBP &lt;/option&gt;
      &lt;option value="AUD"&gt;AUD &lt;/option&gt;
      &lt;option value="JPY"&gt;JPY &lt;/option&gt;
    &lt;/select&gt;
    &lt;select id="select1"&gt;
      &lt;option value="USD"&gt;USD &lt;/option&gt;
      &lt;option value="EUR"&gt;EUR &lt;/option&gt;
      &lt;option value="GPB"&gt;GBP &lt;/option&gt;
      &lt;option value="AUD"&gt;AUD &lt;/option&gt;
      &lt;option value="JPY"&gt;JPY &lt;/option&gt;
    &lt;/select&gt;
    &lt;input type="text" id="result" value=""&gt;
  &lt;/p&gt;
  &lt;p&gt;
    &lt;input type="button" value="Calculate" onclick="calculate();"&gt;
    &lt;input type="reset" value="Reset"&gt;
  &lt;/p&gt;
&lt;/form&gt;</code></pre>
</div>
</div>
</p>

<p>But so far it doesn't work at all... And i cannot understand why... What have i done wrong?</p>