https://www.learnsteps.com/making-a-javascript-terminal-in-browser/
Terminal in browser: Building a Javascript Terminal in your website.