JSFiddle - React, Tailwind, and code Playground

HTML

<!DOCTYPE html>
<html>
    <head>
    

    </head>

    <body>
    <h1>antar<h2>
        <h2 id='lat'></h2>
        <h2 id='long'></h2>
        <h2 id='country'></h2>
    <script>
   
</script>
</body>
</html>

JavaScript

$(document).ready(function(){

$.getJSON('http://api.wipmania.com/jsonp?callback=?', function (data) {
    
  $("#lat").text(data.latitude);  
  $("#long").text(data.longitude);  
  $("#country").text(data.country);      
     
});
 });