JSFiddle - React, Tailwind, and code Playground
HTML
<a href="https://google.com" target="_blank">
Go with delay
</a>
JavaScript
const a = document.querySelector('a');
a.addEventListener("click", (e) => {
e.preventDefault();
const link = e.target.href;
setTimeout(() => {
window.open(link)
}, 1000)
})