function updateCounter() {

  let countHeader = document.getElementById('itemCount');
  countHeader.innerHTML = ' '+cart.items.length;
}
// TODO: Update the cart count in the header nav with the number of items in the Cart
Update the cart count in the header nav with the number of items in the Cart
Update the cart count in the header nav with the number of items in the Cart
function updateCounter() {
  let countHeader = document.getElementById('itemCount');
  countHeader.innerHTML = ' '+cart.items.length;
}
function updateCounter ( ) { let countHeader = document . getElementById ( 'itemCount' ) ; countHeader . innerHTML = ' ' + cart . items . length ; }
TODO: Update the cart count in the header nav with the number of items in the Cart
TODO : Update the cart count in the header nav with the number of items in the Cart