let url = "rates.json"; fetch(url) .then(response => response.json()) .then(rates => { let html = ''; rates.forEach(rate => html += `