input window word with javascript code example Example: prompt js var answer = prompt("How are you? ");