Отсталлировать JS
//The global setTimeout() method sets a timer which executes
//a function or specified piece of code once the timer expires.
//example
setTimeout(() => {console.log("this is the first message")}, 5000);
Rachid Oudouch