Submitted almost 2 years ago
IP Address Tracker, Leaflet, IP Geolocation API, JS
@Kristiana12
Design comparison
SolutionDesign
Solution retrospective
Hey everyone,
After learning about asynchronous javascript and promises, I decided to take up this challenge. I was not sure what to use to validate the domains and the IP addresses, so I used regex expressions (but they are not perfect), maybe you know a better way to solve this problem.
Furthermore, maybe someone has tips on handling errors with promises? Even though I tried to implement everything,I learned to reject the promise once it won't be appropriately fetched and an error still appears on the console.
I would appreciate some feedback on this challenge. Thank you!
Happy Coding :)
Community feedback
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