cant make a button rotate its parent column with javascript in elementor


im trying to insert JS code to elementor in order to make a column rotate on a button click created this code:

<script type=”text/javascript”>
document.getElementById(".column_rotate").style.transform = "rotate(90deg)";}
} else {

but it didnt work for some reason… anyone have any idea ?

user195023 4 months 0 Answers 11 views 0

Leave an answer