That project shows the location on a map through an IP address.
In this implementation, I used the IP Geolocation API to obtain the Country, City, ISP, and Latitude and Longitude through the user's IP.
And with Latitude and Longitude, pass them through the Leaflet Map to show the exact location on the map.
This is a challenge of FrontEnd Mentor.
See the result live here
Desktop Version -
Mobile Version -