prompt | Sololearn: Learn to code for FREE!
+ 1

prompt

hello, anyone knows how can i code a prompt with multiple choices? thank you very much, not a multiple choices in html, i need a prompt.

11th Jan 2019, 5:47 AM
Braulio Macedo Rivas
Braulio Macedo Rivas - avatar
2 Réponses
+ 3
var a=prompt("this is prompt "); //You can use javascript prompt function for that, place many prompt you want to make multiple prompt. // var a=prompt("first choice"); var b=prompt("second choice"); var c=prompt("third choice");
11th Jan 2019, 6:30 AM
Sudarshan Rai
Sudarshan Rai - avatar
+ 2
Thank you shudarshan. May be I need to appoint that in only one Prompt the user can be choice o check options. Could you gimme some advice?
12th Jan 2019, 12:42 AM
Braulio Macedo Rivas
Braulio Macedo Rivas - avatar