funtion that generate a red div that rotate constantly and has position absolute using this syntax function cubologo(top, left, parent) { } so I can set the top and left position and its parent where it will be append with the return the element
function cubologo(top, left, parent) { var logo = document.createElement("div"); logo.classList.add("logo"); logo.style.top = top + "px"; logo.style.left = left + "px"; parent.appendChild(logo); return logo; }