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