Geo location code not working

** onclick=“getlocation()”> **