Skip to content

sg23600/Cards-React

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cards UI

About

  • There is a deck of 52 cards, of 4 different suits.
  • 5 cards can be drawn at random from this deck on click of a button.
  • Once a card has been drawn, it’s removed from the deck and shouldn’t appear twice.
  • Repeatedly clicking the button should keep drawing cards until the deck is over.

Getting Started

The project was built using ReactJS and runs on Node.js utilizing npm as the package manager.

Prerequisites

Make sure you have node.js version 14 or above to run this project

Installation

  1. Clone the repository

    git clone https://github.com/sg23600/Cards-React.git
  2. Install NPM packages

    npm install
  3. Start the development server

    npm start