how to make an html input tag a string in javascript code example Example: input in js var answer = prompt("Question")