Let's say I have an HTML document with forms and inputs and a submit button.
What I want to happen is, every time the user clicks that submit button, it will generate a JSON file with the form data, without using Node.js or a server.
I'm sorry if this is a dumb question; this is just an assignment given to me by my instructor. Basically, what I have is an HTML file with an embedded script. It's like an online shop concept with the user credentials to input on the form and then generate a JSON file with that data.