Michiel van der Blonk
@blonkm
Programmer, teacher, speedcuber, runner, living in Aruba.
0
Timetable generator
This app is made for my school specifically. The UI is in dutch. It uses genetic algorithms to create an optimized timetable for tests (exams).2
1
0
When I use prompt("...") in a nodejs repl, it works.
When my students use prompt("...") in a nodejs assignment in my course, it doesn't work
The err
Node.js
teacherniels2 prompt is something REPLit adds to its Node.js runtime environment. It's not part of Node.js itself.1 year ago
mwilki7 I remember this not working for one of my nodejs repls.
I solved it by requiring readline-sync:
var readline = require('readline-sync');
You can get user input like this:
var name = readline.question("What is your name?");
If this doesn't work you might need to install it from the package manager first:
image3 years ago
zplusfour prompt is to take input
and in node.js to make variables you should write let or var before writing the name of the variable3 years ago
Someone said CTRL+K but it doesn't seem to work. Looking for something that works in both editor and console.
Coder100 You can do console.clear() for JavaScript and ANSII escape codes for the others.3 years ago
SixBeeps On the bottom-right corner of the result window, there's a button with a ? that will show you all the shortcuts that you can use.3 years ago
Dart Hey, your post seemed to be asking a question! The ama board is to ask the staff at repl.it about the platform, I moved your post to ask for you! Make sure your using the right board! -Dart3 years ago
I wonder if there is a place where I can find interesting projects to join, where a team or an individual is already working on something. I'd like to
theangryepicbanana there are always interesting projects here on Repl Talk that you could look at3 years ago
I used to be able to embed a repl using only a script tag and then include the url. It doesn't work anymore, and when clicking share I can only choose
timmy_i_chen We only allow embedding in litemode - add ?lite=1 to the end of your URL. I'm not sure what you mean by "only using a script tag" - do you mean it used to work with ``?5 years ago