html, scss using grid and flexbox, js

Solution retrospective
While building this project I couldn't get rid of justify content space beteewn on last row in index page to display last row elements next to each other. To solve this problem I used grid instead of flex and I wonder if it is good idea.
I wonder if it is good practice using innerHtml with all needed html to display some information instead of getting all html tags? I am talking about fillCountryDetails function in country-details.js file.
Please log in to post a comment
Log in with GitHubCommunity feedback
No feedback yet. Be the first to give feedback on Mateusz Bizoń'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