lukehaas / RunJS

RunJS is a JavaScript playground for macOS, Windows and Linux. Write code with instant feedback and access to Node.js and browser APIs.
https://runjs.app
2.01k stars 43 forks source link

[Feature request] Get input from user #561

Open ralfw opened 1 year ago

ralfw commented 1 year ago

To be able to use RunJS as a teaching tool it would be great to have at least a simple way of gathering input from a user, eg a single line of text.

If a beginner in the art of programming would not need to install a runtime and run a program but could just rely on RunJS as his light weight IDE that would be awesome.

The instruction to ask for input does not need to be prompt(), but could be RunJS specific, I think.

Even a popup window with a data entry field would be ok. Anything more convenient can require a real program.

Perverance commented 8 months ago

Second this!