Submitted 14 days ago
IP Address Tracker | Astro Tailwindcss (mobile view kinda broken)
@vanirvan
Design comparison
SolutionDesign
Solution retrospective
What are you most proud of, and what would you do differently next time?
doing this challenge for 9 hours (productive: 5h 58m 48s)
using leaflet as map view, the api key is not encripted or put somewhere else like .env
, the reason is Astro always return undefined when calling import.meta.env.API_KEY
inside
i'm trying to use React Leaflet without actually installing it with any package manager, so it's importing right from the cdn, but it got error, so i decide to just use plain javascript.
and the 9 hours of suffer begin.
What specific areas of your project would you like help with?when calling env inside
const api_url = i_forgot_the_url.com/apiKey=${import.meta.env.API_KEY}
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