- 2

Write aJavascript code that prompts the user to enter his name 10 times.

14th Jun 2021, 6:33 AM
Alex Muendo
Alex Muendo - avatar
5 Answers
+ 3
Use a loop for this.
14th Jun 2021, 7:01 AM
TOLUENE
TOLUENE - avatar
+ 1
for(var i = 1; i <= 10; i++){ prompt("Enter your name here..."); }
14th Jun 2021, 8:47 AM
Coder-Rohit[{(∞)}]
Coder-Rohit[{(∞)}] - avatar
- 1
Lemmi try
14th Jun 2021, 7:02 AM
Alex Muendo
Alex Muendo - avatar
- 3
Can you try?
14th Jun 2021, 6:51 AM
Alex Muendo
Alex Muendo - avatar
- 4
It challenged me... Just needed a answer dawg
14th Jun 2021, 6:51 AM
Alex Muendo
Alex Muendo - avatar