Skip to content

FullStackDeveloper-Kiran/Interview-Questions-filter-react-14-main

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LIVE DEMO :- Interview Questions

In this assignment, let's build an Interview Questions App

Refer to image below:



Design Files

Project Set Up Instructions

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

Project Completion Instructions

Add Functionality

The app must have the following functionalities

  • By default language and level are selected as ALL then complete data should be displayed.

  • When a specific language is selected

  • Only interview questions on that language should be displayed with all the levels.

  • When a specific level is selected

    • Only interview questions in that level should be displayed for all the languages.
  • When both specific language and specific level is selected

  • Only interview questions on that language should be displayed with the selected level.

  • When the Show button is clicked in each question

  • The answer to the question should be visible to the user.

  • Button text should be changed to Hide.

  • The down arrow icon should change to up arrow icon.

  • When the Hide button is clicked in each question

    • The answer to the question should be hidden to the user.
    • Button text should be changed to Show.
    • The up arrow icon should change to down arrow icon.
  • The InterviewQuestionsApp component will receivequestionsData,levelsData, andlanguageData as a props.

  • The Filters component will receive levelsData,languageData,onChangeDifficultyLevel and onChangeLanguage as a props.

  • The InterviewQuestion component will receive question as a prop.

  • Each interview question object will have the following properties

    Key Data Type
    id Number
    questionText String
    answerText String
    language String
    difficultyLevel String
  • Each difficulty level object will have the following properties

    Key Data Type
    id Number
    level String
  • Each language object will have the following properties

    Key Data Type
    id Number
    language String
  • core code is here

    • src/components/InterviewQuestionsApp/index.js
    • src/components/InterviewQuestionsApp/index.css
    • src/components/Filters/index.js
    • src/components/Filters/index.css
    • src/components/InterviewQuestion/index.js
    • src/components/InterviewQuestion/index.css

Important Note

The following attributes are required in the component for the tests to pass

  • The InterviewQuestion component should have a Show button element in which it contains image element with HTML alt attribute value as 'down arrow'
  • The InterviewQuestion component should have a Hide button element in which it contains image element with HTML alt attribute value as 'up arrow'

Quick Tips:

  • The box-shadow CSS property adds shadow effects around an element's frame. You can set multiple effects separated by commas. Check this to know more.
  • The cursor CSS property sets the type of mouse cursor, if any, to show when the mouse pointer is over an element. Use the CSS property cursor with the value pointer to indicate a link. Click this to know more.
  • An outline is a line that is drawn around an element, outside the border. The outline CSS shorthand property sets all the outline properties. Use the CSS property outline with value none to hide all the outline properties. Click this to know more.

Resources

Images

Colors

Hex: #2b237c
Hex: #180d5b

Background Colors

Hex: #16a34a16
Hex: #d9770616
Hex: #dc262616
Hex: #0284c716
Hex: #9333ea16
Hex: #db277716

Border Colors

Hex: #cbd2d9

Text Colors

Hex: #16a34a
Hex: #d97706
Hex: #dc2626
Hex: #0284c7
Hex: #9333ea
Hex: #db2777
Hex: #0f172a
Hex: #9aa5b1
Hex: #475569
Hex: #7b8794
Hex: #323f4b

Font-families

  • Playfair Display
  • Roboto

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages