I'm trying to fade text out using pure Javascript during an animation. However, rather than doing this, my script is fading it out immediately. Can anyone explain why this is happening and how to fix it without using jQuery? I'm trying to fade text out using pure Javascri