how use window prompt in javascript code example
Example 1: prompt js
var answer = prompt("How are you? ");
Example 2: what is the meaning of prompt in javascript
var answer = prompt('What is your name?','Joe Blogg');
var answer = prompt("How are you? ");
var answer = prompt('What is your name?','Joe Blogg');