You could also use another structure… like this…
setTimeout(()=>{
sentence1.hide('fade'), sentence2.show('fade')
setTimeout(()=>{
sentence2.hide('flip'), sentence3.show('flip')
setTimeout(()=>{
sentence3.hide('float'), myButton.show('bounce')
},5000)
},5000)
},5000)
There are probably more efficient solutions to generate this, but these are surely the fastest ![]()