Answer the question
In order to leave comments, you need to log in
How to create JSON file in project directory using JS?
There is an html file and the position of the phone is tracked there (x, y, z) and there is a JSON file that looks like this:
{
"x":"",
"y":"",
"z":""
}
Answer the question
In order to leave comments, you need to log in
So you want to create a file on the server using the language for the browser? For such masochists they came up with a whole software - node js
No way. Do you want every site to be able to write any file to your computer?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question