html

by - December 14, 2019


<!DOCTYPE html>
<html>
<body>

<h1>Click "Click "motivate you" Wait <mark>3</mark> seconds, & the page will alert "Hello".</h1>

<button onclick="setTimeout(myFunction, 3000);">Click me we motivate YOU</button>

<script>
function myFunction() {
  alert('Hello Dr. APJ Abdul Kalam (great scientist) If you want to shine like a sun, first burn like a SUN');
}
</script>

</body>
</html>

You May Also Like

0 Reviews