how to display output in javascript after 10 second using dom code example
Example: javascript settimeout
window.setTimeout(()=>{
console.log('1 second passed!');
}, 1000);
window.setTimeout(()=>{
console.log('1 second passed!');
}, 1000);