jQuery Responsive menu issue

jQuery Responsive menu issue
0.0 0


jquery responsive multi level menu
the following menu (mobile screensize only!) works partially:


when you click on PHP + the submenu (second level) with 3 li appears. and when you click on PHP+ again it disappears (as desired).

however when you click on one of the li 's in the submenu the submenu ALSO disappears. NOT desirable.

how to fix this?

also i’d like to change the + in - once the submenu appears. and back to + once the submenu disappears. how can that be achieved?


Firstly, welcome to the forums.

While we are primarily here to help people with their Free Code Camp progress, we are open to people on other paths, too. Some of what you are asking is pretty trivial in the Free Code Camp context, so you might find that if you’re not getting the instruction and material you need in your current studies, the FCC curriculum will really help you get started. At a modest guess I’d say investing a 4-5 hours working through the curriculum here will really pay off. You can find the curriculum at https://freecodecamp.org.

With your current questions, we don’t have enough context to know what you already know or don’t know, so it is impossible to guide you without just telling you the answer (which we won’t do).

Happy coding :slight_smile: