cart hide and reveal itself by making the CSS display style conditional on the number of items in the cart. added JavaScript instructions for when cart went from being empty to having one item