Welcome aboard! We are happy you are here and wish you good net-raft!
<!DOCTYPE html>
<html>
<script src="https://www.w3schools.com/lib/w3.js "></script>
<body>
<div id="id01">
<span>{{region_name}}</span>
</div>
<script>
w3.getHttpObject("http://freegeoip.net/json/", myFunction);
function myFunction(myObject) {
w3.displayObject("id01", myObject);
}
</script>
</body>
</html>
The most helpful W3.JS solutions
How to fill a dropdown using w3.js ?W3.JS
Click to see more ...
  1.2K
    147
how to fill a dropdown from another file using w3.js ?W3.JS
Click to see more ...
  991
    144
how to fill a table from another file using w3.js ?W3.JS
Click to see more ...
  703
    71
How to change background color using w3.js ?W3.JS
Click to see more ...
  565
    57
get latitude and longitude w3.jsW3.JS
Click to see more ...
  562
    56
how to fill a list from another file using w3.js ?W3.JS
Click to see more ...
  507
    53
how to set background color using w3js ?W3.JS
Click to see more ...
  412
    49
How to make a slide show using w3.js ?W3.JS
Click to see more ...
  406
    46
How to display text  in html element using w3.js ?W3.JS
Click to see more ...
  353
    42
how to round numbers to decimals from another file and display it using w3.js ?W3.JS
Click to see more ...
  414
    28