After hovering over a button, an arrow is added to it. Upon clicking the button, a content div slides out within its wrapper by utilizing jQuery.slideToggle().
Following the slide out of the div, I aim to rotate the arrow in the button by 180 degrees to indicate that clicking will cause the content div to move downwards if clicked again.
To demonstrate what I have achieved so far, I created a JsFiddle: https://jsfiddle.net/414mwv17/
What method would you recommend for changing the direction of the arrow downwards after the button click?