Design comparison
SolutionDesign
Community feedback
- @MieszkoKowalikPosted about 3 years ago
What appears to be a problem is that you are using both HTTP and HTTPS requests for css and js files.
Changing the protocol for leaflet css and js should resolve the problem.
You should also add a .catch block for your fetch request, as right now any errors thath could appear are not caught and handled.
Marked as helpful2
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