Skip to content

Latest commit

 

History

History
19 lines (14 loc) · 766 Bytes

README.md

File metadata and controls

19 lines (14 loc) · 766 Bytes

cardDeckWebComponent

A card deck Web Component (with Black Jack demo)

The purpose of this application is to demonstrate how you can create Web Components using vanilla JavaScript.The card deck uses the playing-card Web Component also included in this project. This application also has a simple Black Jack game included (index.html) to demonstrate how the card deck component can be used. The Web Components themselves can be found in /web_components.

Prerequisites

  • A browser that supports Web Components (without polyfills), e.g. Chrome
  • Bower

Installation

bower install

Running

Fire up a simple server (e.g. python -m SimpleHTTPServer) and access index.html