how to delay action in js code example
Example: how create a delay for html js
console.log("Hello");
setTimeout(() => { console.log("World!"); }, 2000);
console.log("Hello");
setTimeout(() => { console.log("World!"); }, 2000);