Used confirm, alert, and prompt in JavaScript