This code is intended for instructional purposes only. The intent of this code is to replicate the front-end experience of a small-scale online shopping site for use in web design class projects. No claims of fitness for actual online shopping applications are expressed or implied.
A working example can be viewed at http://joncoop.github.io/js-cart/