title: Without Node.js or running a server, is it possible to create/output a JSON file to hdd through HTML application with pure JavaScript?
body: <p>Let's say I have an HTML document with forms and inputs and a submit button.</p>
  
  <p>What I want to happen is, every time the user clicks that submit button, it will generate a JSON file with the form data, <strong>without using <em>Node.js</em> or a <em>server</em>.</strong></p>
  
  <p>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.</p>