Kavita1603 / ReactJS_MultiLingual_Greeting_App

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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


Languages

Language:JavaScript 52.3%Language:HTML 37.5%Language:CSS 10.2%