Solution: REST countries API with color theme switcher.
Design comparison
Solution retrospective
๐ Hello everyone ๐
This is the solution for the API countries REST challenge, it was very cool to solve this challenge, It was my first time doing a theme switch and I found it very fun, the API had a little difficulty in some parts.
I'll be happy to hear any feedback, or what could be improved in the code.
Thank you ๐โค๏ธ
Community feedback
- @UserAhmad2001Posted about 2 years ago
Hello Leonardo,
Congratulations on completing the countries API challenge ๐ฅณ
Your solution is responsive and beautifully designed, I got a tip for you to make it even better.
use the select and option elements in your region list for a more semantic code like this:
<select> <option value='country value' > Country name </option> <option value='country value' > Country name </option> <option value='country value' > Country name </option> </select>
Hope i was of help, Happy Coding
1@leubomfimPosted about 2 years ago@UserAhmad2001 Hello, Ahmad_Mana
I'm very grateful, and happy for your words ๐
Thank you very much for the tip, I will use the select and options tag.
It helped a lot ๐, Happy coding too ๐
All the best ๐
0 - @Adam31-jpgPosted about 2 years ago
Hello I think you use the V3 api no ? If this is true can you tell me how to get the currencie and the native name of country pls ? Because in V2 it's easy but in V3 the api skeleton change
0@leubomfimPosted about 2 years ago@Adam31-jpg Hi, yes i am using api v3, so to get the currency, I iterated over the currencies using the for in.
Apologies for the delay.
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