How do I combine my ajax request into one line? – Jquery ajax
I am successfully looping my data with ajax but when I console log I see my data sent in a new line. $.ajax(settings).done(function(response) { $.get(settings).then(data => makeTable(data.contracts)) const makeTable = (contracts) => { const body = document.getElementById('chart'); contracts.forEach((person, index) =>…