0

Can someone help me with Java Script. With alert(name) and prompts

13th Feb 2020, 11:11 PM
Christina
2 Answers
+ 2
// 1. prompt reads user input and returns a string. Store that in a variable. let username = prompt("What is your name?"); // 2. Create output variable let outputString = "Hello, " + username + "!"; // 3. Output alert( outputString ); https://www.sololearn.com/post/242937/?ref=app
14th Feb 2020, 12:03 AM
Gordon
Gordon - avatar
0
Can you explain specifically what you need help with?
13th Feb 2020, 11:21 PM
Jianmin Chen
Jianmin Chen - avatar