In web , how to input any num the user want ? .. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 4

In web , how to input any num the user want ? ..

10th Jun 2018, 8:16 AM
Deesha Devi Raghu
Deesha Devi Raghu - avatar
3 Answers
+ 3
var a=prompt('Enter a number:');
10th Jun 2018, 8:24 AM
Calviղ
Calviղ - avatar
+ 7
use <input /> in conjunction of JS
10th Jun 2018, 1:14 PM
Muhd Khairul Amirin
Muhd Khairul Amirin - avatar
+ 4
To take any input from user or to add interactivity to your website , you have to include javascript.
10th Jun 2018, 10:02 AM
Meet Mehta
Meet Mehta - avatar