New course! Every coder should learn Generative AI!
Try a free lesson+ 4
In web , how to input any num the user want ? ..
3 Answers
+ 3
var a=prompt('Enter a number:');
+ 7
use <input /> in conjunction of JS
+ 4
To take any input from user or to add interactivity to your website , you have to include javascript.