Help needed with JavaScript accordion menu for displaying indicators in front of section headers. The goal is to show a (+) when collapsed and (-) when expanded. The current code only changes on click, not based on the section's state. Looking for fresh eyes to spot the logic error.
JSFiddle Link
Javascript code snippet:
// Code snippet goes here
And here is the HTML/CSS:
// HTML and CSS code here