title: jQuery help needed with currency converter
body: <p>I'm trying to make a currency converter. The problem is my teacher gave me code where he used jQuery and I don't understand it. Help please</p>
  
  <pre><code>$(document).ready(function() {
      $.get("https://openexchangerates.org/api/latest.json?app_id=[MY_APP_ID]", function(data) {
          kroner = (data.rates.DKK)
          euro = (data.rates.EUR)
          pound = (data.rates.GBP)
          baht = (data.rates.THB)
          dollars = (data.rates.USD)
          $("#DKK").text(kroner); 
          $("#EUR").text(euro);
          $("#GBP").text(pound);
          $("#THB").text(baht);
          $("#USD").text(dollars);
      });
  }); 
  </code></pre>
  
  <p>This is the part that I really don't understand and I'm new to using jQuery.</p>