-3

I want to store the form input values directly to the JSON File without using PHP, Angular Js, Node Js or NPM using JavaScript. But I didn't have any idea how to do it. Please help me out!!!

  • You need to send the form data to server and write to file there. Or use a remote data storage service. Also your question is far too broad. Please take the time to read [ask] – charlietfl Jan 17 '21 at 15:19
  • Check out this link: https://stackoverflow.com/questions/34156282/how-do-i-save-json-to-local-text-file – Meysam Asadi Jan 17 '21 at 15:44

2 Answers2

0

I think you should create a json file and then download the file to your system. Check out this link:

https://stackoverflow.com/questions/34156282/how-do-i-save-json-to-local-text-file
Meysam Asadi
  • 6,438
  • 3
  • 7
  • 17
-1

JS itself does not have access to file system

Vasile Radeanu
  • 824
  • 5
  • 17