+ 1

Is it possible to not take inputs from the user all at once?

I know you can do this outside of this app, but on this app is there a way to get input from the user after the code has already begun?

5th Aug 2017, 1:41 AM
Derek Wong
Derek Wong - avatar
3 odpowiedzi
+ 14
The code playground takes all inputs at once. As soon as you click the `RUN` button it pops up a window where you can split multiple inputs (if any) into separate lines. It's just a feature of the code playground.
5th Aug 2017, 1:57 AM
Dev
Dev - avatar
+ 8
Feature. ha! Love that description 😊
5th Aug 2017, 2:03 AM
jay
jay - avatar
+ 1
@Derek I think you should specify the language you are talking about, it will help you get the answers you want. Also it's not bad if you give a brief description of the problem you're trying to solve. You don't have to spell it out expressly, just make sure it's understandable. HTML Forms. >>> In HTML forms you can get as many inputs as you want depending on what the form is designed for. There can be input fields for email, telephone, names, etc.... Javascript. In Javascript, the inputs you get depend on the structure of your code. For example if you need to get a person's name and age before executing the code. You use the prompt.. prompt("enter your name and age");... just an example You can achieve this with other languages too... C++, C#, Java etc.
5th Aug 2017, 2:14 AM
Aina Oluwafemi
Aina Oluwafemi - avatar