(Instead of giving me links is it possible you could copy paste the relevent content from the link you intended to give me? (My parents have it where all websites are locked so I cant view the links))
var textbox = document.getElementById("textbox");
textbox.style.color = "red";
Since its a CSS animation, it's easy.
You could just put all the animations into a different class.
Maybe the className is "animate".
var elem= document.querySelector("#elem");
var button= document.querySelector("button")
If you want to understand each line of the code and what each of the functions mean, you will need to learn CSS, JS and jQuery.