I want to get the visitors country based on their IP using javascript. I have made some changes in my html code. I found some piece of code here on stackoverflow which works good, but I don't know how to extract the country from the array.I want to get the visitors country based on the