This site is mobile accessible. Press the "Tap Here" button to use a different font-size.



Smartphone icons created by Freepik - Flaticon

JS Timing

Click "Try it". Wait 3 seconds, and the page will alert "Hello".

// detect button click and wait 3000 milliseconds
onclick="setTimeout(myFunction, 3000);"

// activate myFunction
function myFunction() {
  alert('Hello');
}