Submitted almost 4 years agoA solution to the IP Address Tracker challenge
Flexbox, Animations, API fetch
@KasraTabrizi

Solution retrospective
Hey everyone!
At the moment, the API keys for the geolocation and leaflet map are visible in the repo. Anyone has an idea how to use environment variables with Vanilla JS? Is there a way without using NodeJS? How do you load the environment variables on GitHub pages?
Perhaps this isn't necessary in this case, but it is a good practise for when you make a serious project.
Thanks and open to other feedback as well!
Code
Loading...
Please log in to post a comment
Log in with GitHubCommunity feedback
No feedback yet. Be the first to give feedback on Kasra Tabrizi's solution.
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