title: Multiple fetches with different timeouts - Vanilla JS (no nesting)
body: <p>I have data coming from two APIs and each has a different request limit (and also what makes sense for a fetch frequency). I managed to make one work, but having two overwrites the first one and only fetches the second request. How do I combine two fetch requests with different timeouts to make both work?</p>
  <p>this is the fetch structure I'm working with currently:</p>
  <pre><code>function fecske() {      
         fetch('https://api.coingecko.com/api/v3/coins/markets?vs_currency=usd&amp;order=market_cap_desc&amp;per_page=10&amp;page=1&amp;sparkline=true')
              .then(function (response) { return response.json(); })
              .then(function (data) { appendData(data); });    setTimeout(fecske, 2000); }; fecske()
      
     function appendData(data) { 
  //applying stuff here to different divs
   }
  
  </code></pre>
  <p>nesting one into the other wont work as one has to request every 2-5 seconds the other one should request once an hour - so nesting the once an hour into the few seconds would call that as well too often (if I'm right?)</p>