function addSelectedItemToCart() {
  // TODO: suss out the item picked from the select list
  let selectedItem = document.getElementById('items');
  let selectedItemIndex = selectedItem.selectedIndex;
  let Item = selectedItem.options[selectedItemIndex].value;
  // TODO: get the quantity
  let quantity = document.getElementById('quantity').value; 
  // TODO: using those, add one item to the Cart
  cart.addItem(Item , quantity);
}
// TODO: Add the selected item and quantity to the cart
Add the selected item and quantity to the cart
Add the selected item and quantity to the cart
function addSelectedItemToCart() {
  let selectedItem = document.getElementById('items');
  let selectedItemIndex = selectedItem.selectedIndex;
  let Item = selectedItem.options[selectedItemIndex].value;
  let quantity = document.getElementById('quantity').value; 
  cart.addItem(Item , quantity);
}
function addSelectedItemToCart ( ) { let selectedItem = document . getElementById ( 'items' ) ; let selectedItemIndex = selectedItem . selectedIndex ; let Item = selectedItem . options [ selectedItemIndex ] . value ; let quantity = document . getElementById ( 'quantity' ) . value ; cart . addItem ( Item , quantity ) ; }
TODO: Add the selected item and quantity to the cart
TODO : Add the selected item and quantity to the cart
// TODO: suss out the item picked from the select list // TODO: get the quantity // TODO: using those, add one item to the Cart