title: Add Identifier to json response
body: <p>I'm making a currency widget for my website and I'm using <a href="https://cdn.jsdelivr.net/gh/fawazahmed0/currency-api@1/latest/currencies/" rel="nofollow noreferrer">this</a> github based free Api which provides currencies in JSON format.</p>
  <p>i want to display 4 different currencies, but my problem is that, when my json is parsing information from these  4 different URL's, every html element is just showing 1 currency number.</p>
  <p>because json response doesnt have any identifier which i would use. Is there any way that i can assign identifiers manually or something like that? Thanks for help. Here is my full code.</p>
  <pre><code>    &lt;div style=&quot;width: 175px;height: 72px;margin-top: -15px;&quot;&gt;
  &lt;script&gt;
  var index = [&quot;usd/gel.json&quot;, &quot;eur/gel.json&quot;, &quot;rub/gel.json&quot;, &quot;gbp/gel.json&quot;];
  for (var i = 0; i &lt; index.length; i++) {
  
      var link = &quot;https://cdn.jsdelivr.net/gh/fawazahmed0/currency-api@1/latest/currencies/&quot; + index[i];
  
      let xmlHttp = new XMLHttpRequest();
      xmlHttp.open(&quot;GET&quot;, link);
      xmlHttp.onreadystatechange = function() {
          if(xmlHttp.readyState === XMLHttpRequest.DONE &amp;&amp; xmlHttp.status === 200) {
              var data = JSON.parse(xmlHttp.responseText);
               document.getElementById('valuta-usd').innerHTML = JSON.parse(xmlHttp.responseText).gel;
       document.getElementById('valuta-eur').innerHTML = JSON.parse(xmlHttp.responseText).gel;
       document.getElementById('valuta-rub').innerHTML = JSON.parse(xmlHttp.responseText).gel;
       document.getElementById('valuta-gbp').innerHTML = JSON.parse(xmlHttp.responseText).gel;
              
              console.log(data);
          }
      }
      xmlHttp.send();
      
  }    
  &lt;/script&gt;
  &lt;div id=&quot;valuta123&quot;&gt;
  &lt;div style=&quot;display: inline-flex;&quot;&gt;1 USD&amp;nbsp;&lt;img src=&quot;/templates/askinfov3/images/flags/usd.png&quot; alt=&quot;USD&quot; style=&quot;height: 16px;&quot;&gt;&amp;nbsp;=&amp;nbsp;&lt;div id=&quot;valuta-usd&quot;&gt;იტვირთება&lt;/div&gt;&lt;/div&gt;
  &lt;div style=&quot;display: inline-flex;&quot;&gt;1 EUR &amp;nbsp;&lt;img src=&quot;/templates/askinfov3/images/flags/eur.png&quot; alt=&quot;EUR&quot; style=&quot;height: 16px;&quot;&gt;&amp;nbsp;=&amp;nbsp;&lt;div id=&quot;valuta-eur&quot;&gt;იტვირთება&lt;/div&gt;&lt;/div&gt;
  &lt;div style=&quot;display: inline-flex;&quot;&gt;1 RUB &amp;nbsp;&lt;img src=&quot;/templates/askinfov3/images/flags/rub.png&quot; alt=&quot;RUB&quot; style=&quot;height: 16px;&quot;&gt;&amp;nbsp;=&amp;nbsp;&lt;div id=&quot;valuta-rub&quot;&gt;იტვირთება&lt;/div&gt;&lt;/div&gt;
  &lt;div style=&quot;display: inline-flex;&quot;&gt;1 GBP &amp;nbsp;&lt;img src=&quot;/templates/askinfov3/images/flags/gbp.png&quot; alt=&quot;GBP&quot; style=&quot;height: 16px;&quot;&gt;&amp;nbsp;=&amp;nbsp;&lt;div id=&quot;valuta-gbp&quot;&gt;იტვირთება&lt;/div&gt;&lt;/div&gt;
  &lt;/div&gt;
   
      
      
      
  &lt;/div&gt;
  </code></pre>