DivMan,
btn.addEventListener("click", function() {
sendAjax("cities.json").then(function(response) {
for (var i = 0; i < response.length; i++) {
var div = document.createElement("div");
div.textContent = response[i].name;
con.appendChild(div)
}
})
});