An example of a Cart class part of the html page
Look at the console debug display to see data.
Note that you should view the page through localhost.