check the prompt value by type js code example Example: js prompt var answer = prompt('What is your name?','Joe Blogg');