JSFiddle - React, Tailwind, and code Playground
JavaScript
fetch('https://api.myjson.com/bins/176t5e')
.then(function(response) {
return response.json();
})
.then(function(myJson) {
handleData(myJson);
});
let handleData = (hairdressers) => {
document.body.innerHTML = JSON.stringify(hairdressers);
}