Line 41 in deckCreation.js: cardSubcategory.innerHTML = JSON[i].subCategory;