function showCart() {

  var cartTable = document.getElementById('cart');

  for (var i in Cart) {
    var idNum = 1 * i + 1;
    var cartTableTR = document.createElement('tr');
    var td1 = document.createElement('td');
    var td2 = document.createElement('td');
    var td3 = document.createElement('td');

    td1.textContent = Cart[i].name;
    td2.textContent = Cart[i].quantityChosen;
    td3.textContent = 'Click to Remove X';

    td3.id = idNum;

    cartTableTR.appendChild(td1);
    cartTableTR.appendChild(td2);
    cartTableTR.appendChild(td3);


    cartTable.appendChild(cartTableTR);
  }

}
// TODO: Fill in the <tr>'s under the <tbody> for each item in the cart
Fill in the 's under the  for each item in the cart
Fill in the ' s under the for each item in the cart
function showCart() {
  var cartTable = document.getElementById('cart');
  for (var i in Cart) {
    var idNum = 1 * i + 1;
    var cartTableTR = document.createElement('tr');
    var td1 = document.createElement('td');
    var td2 = document.createElement('td');
    var td3 = document.createElement('td');
    td1.textContent = Cart[i].name;
    td2.textContent = Cart[i].quantityChosen;
    td3.textContent = 'Click to Remove X';
    td3.id = idNum;
    cartTableTR.appendChild(td1);
    cartTableTR.appendChild(td2);
    cartTableTR.appendChild(td3);
    cartTable.appendChild(cartTableTR);
  }
}
function showCart ( ) { var cartTable = document . getElementById ( 'cart' ) ; for ( var i in Cart ) { var idNum = 1 * i + 1 ; var cartTableTR = document . createElement ( 'tr' ) ; var td1 = document . createElement ( 'td' ) ; var td2 = document . createElement ( 'td' ) ; var td3 = document . createElement ( 'td' ) ; td1 . textContent = Cart [ i ] . name ; td2 . textContent = Cart [ i ] . quantityChosen ; td3 . textContent = 'Click to Remove X' ; td3 . id = idNum ; cartTableTR . appendChild ( td1 ) ; cartTableTR . appendChild ( td2 ) ; cartTableTR . appendChild ( td3 ) ; cartTable . appendChild ( cartTableTR ) ; } }
TODO: Fill in the <tr>'s under the <tbody> for each item in the cart
TODO : Fill in the <tr > ' s under the <tbody > for each item in the cart