+ 1

How do I write and read files in JS?

I just made a simple clicker game in HTML using JS. My problem: I want to add a save and load function to this game. Many thanks for your help!

12th Dec 2019, 11:39 AM
Kevin Kerzner
Kevin Kerzner - avatar
2 Answers
+ 2
Javascript is scripting language which runs on client side but if you like write a file with only JS you can go with NodeJs. Refer to official docs.
12th Dec 2019, 12:38 PM
đŸš«đŸš«đŸš«đŸš«
0
Okay thank you. I'll Download node.js on my laptop asap
12th Dec 2019, 12:45 PM
Kevin Kerzner
Kevin Kerzner - avatar