JavaScript Demo
JavaScript / HTML/ CSS Code
Output
Show an Alert
Show confirm dialogue