+ 2
how can i use JS to get country name?
I want to use javascript to get current country of visitor and use it as input in html.
1 Resposta
+ 1
I suggest you read about browser geo location.
You can start here
https://www.w3schools.com/jsref/prop_nav_geolocation.asp