Prompt( )
Prompt( ) method
return
s the text
<script>
var y=prompt
("please enter your name");
document.writeln (Hello, + y);
</script>