JSFiddle - React, Tailwind, and code Playground

HTML

<h1>
    <a href="#">wellcome</a>,&nbsp;
    <a href="#">bonjoure</a>,&nbsp;
    <a href="#">bienvenido</a>,&nbsp;
    <a href="#">benvenuto</a>,<br/>
    <a href="#">добро пожаловать</a>,<br/>
    <a href="#">willkommen</a>
</h1>

CSS

a {
  color: #000;
  text-decoration: none;
  text-shadow: -1px 0px 1px rgba(150, 150, 150, 1);
}
h1 { text-align: center; }
.glow { animation: glow .8s infinite alternate; }
@keyframes glow {
    to { text-shadow: 0 0 6px #aaa; }
}

JavaScript

$("h1 a").each( function(i,item){
    setInterval(function(){
    $(item).addClass('glow');
    
    },2000 + i)
     setInterval(function(){
    $(item).removeClass('glow');
    
    },2000 + i)
    
});