0

I am learning Javascript and working at frontend only. I want to write a JSON file using javascript and read it. I know how to read it but don't know how to write it with frontend javascript.

1

1 Answer 1

1

To my best knowledge writing to the file system is against front-end development. I suggest two options:

  1. use cookie/localstorage
  2. download the file

I would go about the first option

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.