how can I make the animation below to reveal the text without playing the button? Thank you.
const reveal = document.querySelector('.reveal-wrapper')
const playBtn = document.querySelector('.play')
playBtn.addEventListener('click', () => {
reveal.classList.add('reveal-wrapper-ani')
setTimeout(() => {
reveal.classList.remove('reveal-wrapper-ani')
}, 1000)
})