REST Countries API with animations and little things
Design comparison
Solution retrospective
I liked how it turned out, what do you think? do comment in the comment section below 😉
Community feedback
- @afrusselPosted over 3 years ago
Great work 👍. While checking I found a small issue, I put Bangladesh with a space then no result showed. I think there will a empty space checking added on code
Marked as helpful1 - @rohailtahaPosted over 3 years ago
Great work. You can resolve the space issue as Ahmed mentioned by removing all spaces from the search input before applying the filter. Here is the code I use for my project to remove spaces: str.split(' ').filter(s => s).join(' '); This handles multiple spaces before the string, after the string and different words.
Marked as helpful0 - @ashiqfuryPosted about 3 years ago
Can you tell me why this API is not working?
I started this challenge, after that I realize that API is not working nowadays. Please tell me, if you know any solution for this problem.
Thanks..!
1@leonardomeza87Posted about 3 years ago@ashiqfury You're right, thanks for informing me of this, it seems the site has problems with its SSL certificate, I found this replacement that works quite well: restcountries.com.
In its V2, it is practically the same as the other API, the V3 has more information
0@ashiqfuryPosted about 3 years ago@leonardomeza87 Thanks you so much. Now I can build mine with your help!
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