Skip to content

FullStackDeveloper-Kiran/cascasdeSlider-review-application-react-4-main

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LIVE DEMO :- Reviews

In this assignment let's build a Reviews 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

  • When the HTML button element with id leftArrow is clicked the previous review details like profile image, username, company, and description should be displayed

  • When the HTML button element with id rightArrow is clicked the next review details like profile image, username, company, and description should be displayed

  • If the review that is being displayed is the first review in the list of reviews

    • There should not be any state change when HTML button element with id leftArrow is clicked
  • If the review that is being displayed is the last review in the list of reviews

    • There should not be any state change when HTML button element with id rightArrow is clicked
  • The list of reviews is passed to the ReviewsCarousel component as a prop reviewsData in the form of an array object.

  • Each review object will have the following properties

    Key Data Type
    imgUrl String
    username String
    companyName String
    description String
  • Your task is to complete the implementation of

    • src/components/ReviewsCarousel/index.js.
    • src/components/ReviewsCarousel/index.css.

Important Note

The following HTML attributes are required for the HTML button and image elements for the tests to pass

  • The HTML button element to check the previous review should have the testid attribute and its value as leftArrow
  • The HTML button element to check the next review should have the testid attribute and its value as rightArrow
  • The HTML image elements to display the profile image should have the HTML attribute alt values as userName-avatar

Quick Tips:

  • 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 value pointer to indicate a link.
  • 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

Resources

Images

Colors

Hex: #ffffff
Hex: #171f46

Font-families

  • Roboto

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published