I'm making some html files for fun, and i am trying to make a social-media thing, and the only idea that came me was to write html using javascript and the only thing i found that work is document.write()
but it does not save in the html file. Is it atleast possible? If it is.. how can you do it? (or with anything else)
EDIT : i do not mean to make another file, i want to modify the one i run the javascript (or anything else) script that will SAVE the source code.
EDIT 2 : please ignore this question. thanks