+ 2

How can I display user's name after using prompt...

I used the prompt to get a name, and now I want to display it with Welcome via a function..

28th Dec 2017, 2:27 PM
R I S H A B H
R I S H A B H - avatar
4 ответов
+ 5
alert(prompt("enter your name"));
28th Dec 2017, 3:26 PM
᠌᠌Code X
᠌᠌Code X - avatar
0
create a variable having the prompt then alert it
28th Dec 2017, 4:36 PM
Android Boi
Android Boi - avatar
- 1
Tysm...Tobias😃
28th Dec 2017, 2:47 PM
R I S H A B H
R I S H A B H - avatar
- 1
Thanks guys, i appreciate..
29th Dec 2017, 3:39 AM
R I S H A B H
R I S H A B H - avatar