User:Sibashis Chatterjee/alert.js

alert("hello world! This is Sibashis"); var ch = confirm("Want to continue?"); if (ch == true){ name = prompt ("enter your name"); alert ("Hi!" + name); } else { alert ("good-bye"); window.location = "http://www.google.com"; }