Intmintmint Challenge

function grabdata() {
fetch('https://mintopia.tuxonics.com/getdata?api_key=Jwtmm2zs7JhV96gir@Qt')
.then(response => response.text())
.then(data => {
console.log(data);
document.getElementById('content').innerHTML = data;
})
.catch(function() {
console.log('Error.');
});
}


Ooops. Unable to load content from server

grabdata();