REST Countries API with color theme switcher
- JPEG design files for mobile & desktop layouts
- Optimized assets
- README file to help you get started
- Style guide for fonts, colours, etc
- HTML file with pre-written content
- Sketch design file - Buy Now
Download Sketch File
Want to try and build pixel-perfect projects? The free download comes with JPEG design files, but you can purchase the original Sketch design file here. This will give you access to the exact design details you need to build the best solution possible.Buy Now ( ... )
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.
At the moment, everything is available as a one-off purchase. As the library of premium challenges grows and we add more features to the platform we'll look to add a subscription option.
Yes! There are plenty of programs that allow you to view Sketch files without actually having Sketch. If you don't own a Sketch license, we recommend using Figma. It has a great free tier and can import Sketch files easily.
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.
No problem. We want you to be completely happy with your purchases. Simply email [email protected] and we'll refund you, no questions asked.
Join our Slack community
Join over 3,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