Skip to content

this app greets in multiple languages by rendering the image as per the language

Notifications You must be signed in to change notification settings

MDAshfaqkhan/Multilingual-greeting-Mocktest-interview-1A

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.

  • Project Url: https://ashugreeting.ccbp.tech

About

this app greets in multiple languages by rendering the image as per the language

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published