Vanilla JS | IP Geolocation

Solution retrospective
Hello everyone!
This is my, Vanilla JS solution to this challenge. I decided to use another IP Geolocation API (IPWHOIS.IO), that doesn't require and API key.
I appreciate any feedback. Cheers!
Please log in to post a comment
Log in with GitHubCommunity feedback
- @PraneetDixit
Hi!
Nice project, but there is a small issue.
Your page is served over
https
but you are requesting data from insecure resource (http
), so the browser is blocking the request.Change
API_BASE_URL
tohttps://ipwhois.app/json/
Happy Coding!
Join our Discord community
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!
Join our Discord