GithubHelp home page GithubHelp logo

vikaskumaryadav13 / prime-video-app-reactjs-coding-practice-40.2 Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 185 KB

1.reactjs-popup is a simple React popup component that help you create simple and complex Modals, Tooltips and Menus for your next React App.2.React slick is a carousel component built with React. It is a react port of slick carousel.3.A React component for playing a variety of URLs, including file paths, YouTube, Facebook, Twitch, SoundCloud,.

Home Page: https://prmvdovky.ccbp.tech

JavaScript 63.19% HTML 22.14% CSS 14.67%
javascript prime-video-clone react-player react-popup react-slick reactjs

prime-video-app-reactjs-coding-practice-40.2's Introduction

In this project, let's build a Prime Video by applying the concepts we have learned till now.

Refer to the video below:



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

  • Action Movies List and Comedy Movies List should be displayed using React Slick

  • The App is provided with moviesList. It consists of a list of movieItem objects with the following properties in each movieItem object

    Key Data Type
    id String
    thumbnailUrl String
    videoUrl String
    categoryId String
  • When the next button is clicked in any of the sliders, the next movie items thumbnail in the corresponding moviesList should be displayed

  • When the previous button is clicked in any of the sliders, the previous movie items thumbnail in the corresponding moviesList should be displayed

    movie slider buttons

  • When you click on the thumbnail, then the popup should be opened,

    • And corresponding video should be displayed using React player component from react-player
      popup

    - When the close button is clicked, then the popup should be closed
Components Structure
component structure breakdown

Implementation Files

Use these files to complete the implementation:

  • src/components/PrimeVideo/index.js
  • src/components/PrimeVideo/index.css
  • src/components/MoviesSlider/index.js
  • src/components/MovieItem/index.js
  • src/components/MovieItem/index.css

Quick Tips

Click to view
<Popup
  modal
  trigger={
    //write code here
  }
  className="popup-content"
>
  //write code here
</Popup>

Important Note

Click to view

The following instructions are required for the tests to pass

  • One frame of the slider should have 4 thumbnails
  • The thumbnail images in the app should have alt as thumbnail
  • The close button in the popup should have the data-testid as closeButton
  • IoMdClose from react-icons should be used for Close Icon in the Popup

Resources

Image URLs
Colors
Hex: #000000
Hex: #ffffff
Hex: #231f20

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.
  • Do not remove the pre-filled code
  • Want to quickly review some of the concepts you’ve been learning? Take a look at the Cheat Sheets.

prime-video-app-reactjs-coding-practice-40.2's People

Contributors

vikaskumaryadav13 avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.