Posts by FEROZ STUDIO • 1 point
1 post
-
-2
votes3
answers939
viewsA: How do I rotate the square when I click the button? JAVASCRIPT
Guys this is gambiarra! It would look like this: Var Rotate = 90; Var img = document.getElementById("img"); //90 graus Img.style.transform = "rotate("+rotate+"deg)";…