Design comparison
SolutionDesign
Solution retrospective
Hi guys👋. If you can, then go through this IP tracker I built with vanilla js and sass. I added loading states in and made it that it searches for the user's IP adress on load. Please feel free to comment on anything in the code.
I did encounter a slight problem though, when trying to place the IP info section at the design-specified position. I decided to use a transform and negative margins, which led to using some magic numbers. I would like to know if there is a cleaner approach to this situation
Thanks, and Happy Coding💻, Ayobami
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