Solution using Next.js

Solution retrospective
The map component did not automatically update the position by changing the values. I decided to remove and add the map when I update the position values. I would like to know if there is a better solution to achive the same behaviour.
Please log in to post a comment
Log in with GitHubCommunity feedback
- @curlos
Not sure what you mean by the map component not automatically updating the position? From what I can tell the map updates the position when a new value is entered. Also, I believe the IP Address that should show up on the page when the user enters should be their own IP address. Right now it is showing a different IP address and location to my own upon first entering.
You got everything else down for the most part. Maybe add a tooltip on top of the marker with some info like the location or IP address.
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