Health and Wellness News

<span id=”locationname”></span>

function ipLookUp () {
Vipology_jQuery.ajax(‘http://ip-api.com/json’)
.then(
function success(response) {
console.log(‘User’s Location Data is ‘, response);
console.log(‘User’s Country’, response.country);
Vipology_jQuery(“#locationname”).html(response.city);
document.title = response.city + ‘ Health and Wellness News’;
},

function fail(data, status) {
console.log(‘Request failed. Returned status of’, status);
}
);
}
ipLookUp();