Design comparison
Solution retrospective
It was a great challenge, I enjoyed it. Hope you like it. Any feedback would be great!
Community feedback
- @KaiPereiraPosted over 2 years ago
Nice job Arsh! I love your loading animation! One small bug I found while playing around with it is when you randomly put something into the URL that is not a country code it just cycles over the loading animation forever.
Keep up the good work though!
Marked as helpful1@arshGoyalDevPosted over 2 years ago@KaiPereira Thanks, Glad you like the loading animation. I will fix that bug as soon as possible.
Edit: fixed that bug
0 - @slothmast3rPosted over 2 years ago
Hey Arsh! Great job! I found a bug that when you click on Antarctica, it doesnt show anything. Prolly you didnt consider
undefined
parametersBest
Marked as helpful1@arshGoyalDevPosted over 2 years ago@slothmast3r Thanks for your feedback. And, I would fix that as soon as possible.
Edit: fixed the bug
1 - @denieldenPosted over 2 years ago
Also to optimize the code I suggest you to use a custom hook to make the API call so as to repeat less code in the various components. Read here -> docs hooks custom
Hope this help :)
Marked as helpful1@arshGoyalDevPosted over 2 years ago@denielden I would read that and try to optimise the code.
1 - @denieldenPosted over 2 years ago
Hi Arsh, very great job!
I found a bug in the search
input
if you enter a keyword that doesn't give any results.You can solve this by adding a check that in case of no result, instead of cycling the recovered data, it returns a "no result" message.
Hope this help :)
Marked as helpful1@arshGoyalDevPosted over 2 years ago@denielden Thanks for your feedback. And I will definitely do that .
Edit: fixed the bug
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