how to prompt a message until a specific condition in javascript and save the input in an array code example
Example: js prompt
var answer = prompt('What is your name?','Joe Blogg');
var answer = prompt('What is your name?','Joe Blogg');