how to grab what the user typed in an html page with javascript code example Example: input in js var answer = prompt("Question")