Снимите товар из LocalStorage
localStorage.removeItem('key');
Envious Earthworm
localStorage.removeItem('key');
// Don't use removeItem() that as the name says removes the whole item from localStorage. Just do another setItem() to overwrite the old data.
questions.splice(index, 1);
localStorage.setItem('questions',JSON.stringify(questions));