- 5

answer this question

Fill in the blanks to obtain the name of the user and alert it to the screen: var name = ("Enter your name:"); alert( );

31st Jan 2018, 5:59 PM
Tejaswini Mandava
Tejaswini Mandava - avatar
7 Answers
+ 26
var name = prompt("Enter your name:"); alert(name);
31st Jan 2018, 6:01 PM
Krishna Teja Yeluripati
Krishna Teja Yeluripati - avatar
+ 4
var name=prompt(ā€œEnter your nameā€); alert(ā€œHello,ā€+name+ā€ Welcome to SoloLearnā€); Eg. I thing you should make this question in quiz factory.
11th Mar 2018, 2:20 PM
Warith Vatanaplachaigoon
Warith Vatanaplachaigoon - avatar
+ 3
var name= prompt("Enter name") alert("This question makes no sense and the right answer is wrong");
1st Feb 2018, 2:11 PM
Typhoon
Typhoon - avatar
0
answer this question Fill in the blanks to obtain the name of the user and alert it to the screen: var name = prompt ("Enter your name:"); alert(name);
5th Mar 2021, 6:54 PM
Kabelo Michael Letlala
Kabelo Michael Letlala - avatar
0
Please fill in the corresponding names for the built-in dialog boxes: ........is for getting input from the user; ......... is for displaying a message in a box;
12th Aug 2021, 8:27 AM
Byishimo Prince
0
var name = prompt ("Enter your name:"); alert( name );
25th Mar 2022, 1:28 PM
Roselle Mae Santos
- 3
No
31st Jan 2018, 9:31 PM
Jacob Pembleton
Jacob Pembleton - avatar