Design comparison
Solution retrospective
Implemented using React router - no page reloads for each link click! Thought would take lots of time, but was a breeze actually.
Also changing css variables using js was new and I feel the possiblities are endless with css-variables and js combo - We can change anything, apply styles to many (even ALL ) elements with just a click. Its cool.
What challenges did you encounter, and how did you overcome them?flex box related issues. I was trying to make site responsive without using media queries, and spent a lot of time. But media query is made for a reason, and finally used it. took less than 10 mins to make it responsive actually. Right tool for the right job they say. Lesson learned.
Also in previous projects, for changing the border color of inputs when they are in focus I used to change accent-color property. But because this project requires both light and dark view, the limitations of that approach came forth. Then I got to know that there is a property called outline which handles that. Good to know!
What specific areas of your project would you like help with?No help required for now. I believe all things are done. Thanks
Community feedback
- @purviporwal1812Posted 5 months ago
Antarctica card is not opening (idk if it is domain specific) maybe it could happen with other cards also, you can check once. Ps. I loved the fact that countries are sorted alphabetically.
Marked as helpful0@randomduckduckPosted 5 months ago@purviporwal1812 Issue due to Antarctica country not having any currency! Added undefined check. It's fixed. Thanks for checking out the solution and commenting. Happy coding!
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