+ 1
Which level do I learn to make it where the other person types an input and gets a certain output from what they typed
If you do not understand the q: when I view another persons creation, an input box often appears when I run it. What level to I learn to add the input box to pop up for other people?
4 odpowiedzi
+ 11
you mean prompt() in Javascript?
The prompt() method displays a dialog box that prompts the visitor for input. A prompt box is often used if you want the user to input a value before entering a page.
+ 8
In Sololearn this pops up only once per code and is suppose to substitute the input from console. If you know some C++, this is what you get in SL when you use cin.
+ 7
I do not understand, what you are asking for.
If you want to make a pop-up, you can learn how to use "alert()", from the javascript course.
+ 1
javascript:
var name= prompt ("Your name?");
alert ("Hi"+name);
Try this one :)