0
Can someone help me with Java Script. With alert(name) and prompts
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
0
Can you explain specifically what you need help with?