The goal of this coding exam is to quickly get you off the ground with Lists and Keys.
Click to view
- Download dependencies by running
npm install
- Start up the app using
npm start
Functionality to be added
The app must have the following functionalities
-
Initially, the English language button should be active and the English greeting image should be displayed.
-
When the user clicks on a language button, then the corresponding greeting image should be displayed.
-
The
App
component consists of thelanguageGreetingsList
. It consists of a list of image details objects with the following properties in each objectKey Data Type id Number imageUrl String buttonText String imageAltText String
Click to view
The following instruction is required for the tests to pass
- The image should have the alt attribute value as the key
imageAltText
fromlanguageGreetingsList
provided
Colors
Font-families
- Roboto
- All components you implement should go in the
src/components
directory.- Don't change the component folder names as those are the files being imported into the tests.