Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

alert and prompt in javascript

let name = prompt("What's your name?")

alert("Hello " + name);
 
PREVIOUS NEXT
Tagged: #alert #prompt #javascript
ADD COMMENT
Topic
Name
1+2 =