I am working on something. But everytime I take away from the value, I have to refresh the page to show the new value.
localStorage.setItem("money", money - 20);
How do I make the value "money" refresh on the page without actually refreshing the page itself? Can it be done with pure JavaScript?