Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found

Submitted

Vanilla JS | IP Geolocation

@tkulic

Desktop design screenshot for the IP Address Tracker coding challenge

This is a solution for...

  • HTML
  • CSS
  • JS
  • API
3intermediate
View challenge

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

@PraneetDixit

Posted

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 to https://ipwhois.app/json/

Happy Coding!

0

@tkulic

Posted

@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 GitHub
Discord logo

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