I'm sure this is a SUPER noob question, but I'm having trouble finding resources which detail simple client-side server-side interactions.
I've got a webpage where clicking a button uses a little JavaScript to increment a counter by one. Naturally when the page is refreshed, the number resets.
How could I set up some simple backend or database that instead will save the number and call it back the next time the page is loaded?