REST Countries API (vanilla JS)

Solution retrospective
I tried desktop-first approach and I didn't like it. I find it as a bad way to code. Managing media queries later is a bit of mess. I learned how to use routing with window.location.search. I also tried other approach of creating html elements by JS (here, I created each element by separate function and I nested it later into one component).
I needed 10,5 hours to complete this app. I really enjoyed this challenge and it was my first work with such a big API. I didn't focus so much on CSS styling here.
Please log in to post a comment
Log in with GitHubCommunity feedback
No feedback yet. Be the first to give feedback on Paweł'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