Design comparison
SolutionDesign
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!
Community feedback
- @PraneetDixitPosted over 3 years ago
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!
0@tkulicPosted over 3 years ago@PraneetDixit, thanks for reviewing my code! I focused so much on the styling and functionality, that I didn't even notice this security flaw. It's fixed now.
Cheers!
0
Please log in to post a comment
Log in with GitHubJoin 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