source/javascript/shoppingCart.js
Function sendCart
has 33 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
"sendCart": function() {
const cart = shoppingCart.getCart();
cart.name = document.getElementById("name").value;
cart.attn = document.getElementById("attn").value;
cart.address = document.getElementById("address").value;