i’m making a game in javascript, and i’m printing text on the screen with println(). just wondering how to clear that text I put on the screen.
here’s my code:
println(“Menu:”);
I tried different ways to print like document.write but nothing worked.
New contributor
ben is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.