Thanks for checking out this front-end coding challenge.
To do this challenge, you need a good understanding of JavaScript and ReactJS. Use React Hooks is required.
Your challenge is to integrate with the REST Countries API to pull country data and display it like in the designs.
Please use [ReactJS], [Typescript] and Material UI on the front-end. You have complete control over which packages you use to do things like make HTTP requests.
Your users should be able to:
- See all countries from the API on the homepage
- Search for a country using an
input
field - 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, but nice to have)
- Use React Hook
Your task is to build out the project to the designs inside the /design
folder.
In this challenge, you will find mobile and desktop designs in light and dark mode color schemes for both pages.
The designs are in JPG static format. Using JPGs will mean that you'll need to use your best judgment for styles such as font-size
, padding
and margin
.
There are no assets for this challenge, as the country flags will be pulled from the REST Countries API and you can use an icon font library for the icons.
There is also a style-guide.md
file containing the information you'll need, such as color palette and fonts.
Please feel free to do any optimization to make your project stronger!
We are here to create, so don’t be afraid of doing something else with data available, in case you think it’s a good idea.
The content of this document is only used for front-end developer ability testing. No legal responsibility is assumed for the data content provided by the third-party interface.