difference between prompt and alert dialogue box js code example Example: javascript alert alert(varible);