I designed a navigation bar that includes a sub-menu feature. Currently, there is only one member with a caret symbol positioned nearby. When this member is clicked, the sub-menu opens displaying other members. However, the caret remains pointing to the right side. I am looking to change it so that when the sub-menu is open, the caret points downwards and returns to the right when closed. Is jQuery necessary for this task? If so, how should I go about implementing it? Thank you!