Skip to content

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..

Notifications You must be signed in to change notification settings

vikaskumaryadav13/Multilingual-Greetings-Card-ReactJS-imt-1A.2

Repository files navigation

The goal of this coding exam is to quickly get you off the ground with Lists and Keys.

Refer to the image below:


multilingual-greetings

Design Files

Click to view

Set Up Instructions

Click to view
  • Download dependencies by running npm install
  • Start up the app using npm start

Completion Instructions

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 the languageGreetingsList. It consists of a list of image details objects with the following properties in each object

    Key Data Type
    id Number
    imageUrl String
    buttonText String
    imageAltText String

Important Note

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 from languageGreetingsList provided

Resources

Colors
Hex: #db1c48
Hex: #ffffff
Hex: #1e293b
Font-families
  • Roboto

Things to Keep in Mind

  • 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.

About

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..

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published