I am developing a project and the animations with the TweenMax library do not work for me, I do not know why, I am waiting for your help. Below I leave the part of the code that produces the error.
This is the .html
<div id="header"class="page-header"><h1>titulo a animar</h1>
this is the .js
window.onload = function () {
var header = document.getElementById("header");
TweenLite.to(header, 1, {left:"632px"});
}
Thank you very much in advance! Greetings!