+ 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?

24th Apr 2017, 9:04 PM
$@\/@§€
$@\/@§€ - avatar
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.
24th Apr 2017, 9:13 PM
Agus Mei
Agus Mei - avatar
+ 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.
24th Apr 2017, 9:11 PM
Kuba Siekierzyński
Kuba Siekierzyński - avatar
+ 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.
24th Apr 2017, 9:11 PM
Manual
Manual - avatar
+ 1
javascript: var name= prompt ("Your name?"); alert ("Hi"+name); Try this one :)
24th Apr 2017, 9:31 PM
AceDev