Design comparison
SolutionDesign
Solution retrospective
Any comments are welcome.
Community feedback
- @Davidmide02Posted over 1 year ago
Hi MATEUSZ, How did you manage to get the latitude and longitude from the Api? Mine isn't returning that
0 - @efedericomedinaPosted over 1 year ago
Really nice work Mateusz,
the axios.get is repeated multiple times, the only difference is that the api_key changes, how about creating a function that receives as input the api_key, then you avoid repeating the same code multiple times. maybe you can use a constant for the url as well.
0
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