do that after second js code example Example: js after 1 second const now = new Date(); now.setSeconds(now.getSeconds() + 1)