Stringify all generated pizza to be inserted only once using pizzasDiv.insertAdjacentHTML( 'beforeend', fullItemList );