REST Countries API with color theme switcher
Assets Provided Include
- Sketch and Figma design file access - Unlock access with pro
- JPEG design files for mobile & desktop layouts
- Style guide for fonts, colors, etc
- Optimized image assets
- README file to help you get started
- HTML file with pre-written content
Your challenge is to integrate with the REST Countries API to pull country data and display it like in the designs.
Your users should be able to:
- See all countries from the API on the homepage
- Search for a country using an
- Filter countries by region
- Click on a country to see more detailed information on a separate page
- Click through to the border countries on the detail page
- Toggle the color scheme between light and dark mode (optional)
Download the starter code and go through the
README.md file. This will provide further details about the project. The
style-guide.md file is where you'll find colors, fonts, etc.
Want some support on the challenge? Join our Slack community and ask questions in the help channel.
- Download the starter code
Choose a JS framework/library and create your project
Set up the project with version control (e.g. Git)
README.mdfile and have a look around the starter files
Get colors, fonts etc from the
Set up your project/file architecture however you want
Ideas to test yourself
Our free challenges are perfect projects to test your skills and improve your front-end workflow. The premium challenges allow you to build a seriously impressive portfolio of projects whilst providing the most realistic development workflow possible.
We don't provide "official" solutions for the challenges. This is because there is no single perfect way to complete a challenge. Instead, you're encouraged to review other people's code in the community. You can learn so much by seeing how other people have approached the same challenges.
If you would like to receive feedback please be sure to post a question when you submit your solution. The more specific you can be the better. This will give others in the community an idea of the help you're seeking.
Of course! Frontend Mentor was created to make professionally designed projects more accessible to the development community. Please feel free to use anything you build in your portfolio.
Definitely! We provide easy account management through the Settings page. Click on the Billing tab and you'll be able to manage your subscription without a problem.
No problem. We want you to be completely happy with your purchase. We offer a 14-day refund guarantee. Simply email [email protected] within 14 days of becoming a PRO member and we'll refund you, no questions asked.
Join our Slack community
Join over 30,000 people taking the challenges, talking about their code, helping each other, and chatting about all things front-end!
Subscribe to our newsletter
Stay up-to-date with new challenges, featured solutions, selected articles and Frontend Mentor latest news