how to take input from html in javascript code example Example: input in js var answer = prompt("Question")