Hello, I’ve been building my documentation page for the freecodecamp certification of Responsive Web design and I have now come accross something that I haven’t figured out how to resolve.
I created a sidebar that appears and disappears when Clicking a list and cancel icons.
At the beggining I thought It was working well, but when I click any of the links inside the sidebar it directs me to the corresponding place of that page but It sticks because its fixed and does not go away.
so what I actually need help for is for making it disappear when I click on any of the links.
Here a let you some pictures and the pen. You can check it out.
I also have to say that What i’m doing now is for the mobile version so you should resize your screen.
codepen here - https://codepen.io/Mikeavocado01/full/rNYXJYo
Pictures here: