how to create a rotate function | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

how to create a rotate function

hello boys and girls. I am stranded in a javascript code. the code consists of clicking on a div element and it must rotate 90 degrees for each click until reaching 360 degrees. I still can't figure out how to make a function that can execute this. https://code.sololearn.com/Wa7YzRmujZ4w/?ref=app

29th Jun 2020, 1:29 AM
Holger Edud Angulo Castillo
Holger Edud Angulo Castillo - avatar
1 Answer
+ 2
https://code.sololearn.com/WVIkHD0N3eqQ/#html
29th Jun 2020, 1:40 AM
JME