If you write a function, linked to a button that executes it, and use a "document.write" statement, the text written replaces the rest of the page. How can I do it so that it doesn't? I heard that you could somehow put the CSS in the script tag or something.
I heard that you could somehow put the CSS in the script tag or something.