Ask coding questions

← Back to all posts
How to create/read/write files in HTML/CSS/JS Repl?
Blessedchan

Hey, I want to create/read/write files from HTML/CSS/JS Repl, and I googled it but only saw things like Node's FS package. But because I have no idea how to incorporate that to an HTML Repl, I was completely lost. Anyone mind helping?

Answered by Coder100 [earned 5 cycles]
View Answer
Voters
Blessedchan
Comments
hotnewtop
Coder100

you cannot create files like that in a web environment as that poses a security risk, and remember all websites have a server behind them that controls the website media.

Blessedchan

Ok, thanks!

Coder100

yeah np @Blessedchan