Write a JavaScript to accept the user name and display it on the browser window. code example
Example: what is the meaning of prompt in javascript
var answer = prompt('What is your name?','Joe Blogg');
var answer = prompt('What is your name?','Joe Blogg');