Welcome aboard! We are happy you are here and wish you good net-raft!
<!DOCTYPE html>
<html>
<head>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js"></script>
</head>
<body>
<p></p>
<script>
function foo(data) {
// or use data.city
$('p').append(data.country.name + " / " + data.location.time_zone);
}
</script>
<script src="https://geoip.nekudo.com/api?callback=foo"></script>
</body>
</html>
The most helpful JAVASCRIPT solutions
How can I get the last day and the next day in javascript ?JAVASCRIPT Click to see more ... 5.8K 507