JavaScript Alert pop up



By window. Alert property we can show a alert box on html page. Without click on that box  we can not do anything on html page.
<h1>Using window.alert()</h1>
<script>
window.alert("hello its javascript. click to ok");
</script>

go  to this link and see the live demo.

Comments

Popular posts from this blog

50 Beautiful Color Palettes for Your Next Web Project

Website Color Palettes: The Palettes of 50 Visually Impactful Websites to Inspire You Css Zilla