REST Countries API with vanilla JS

Solution retrospective
Hi,
I'm currently learning JS and wanted to practice fetch calls, so I decided to try this challenge. It would be better to do it with some kind of framework, since there should be a route for every single country, but I don't know any yet. So It's just a single page app with pure JS re-rendering the content again and again.
I wanted to make countries lazy loading with Intersection Observer, but couldn't figure out how to fetch just certain amount of countries from API. So they show up all at once on one looong page.
Any feedback will be appreciated. Thanks.
Please log in to post a comment
Log in with GitHubCommunity feedback
No feedback yet. Be the first to give feedback on lukassiarny'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