I am trying to create 3 boxes which will display content in a collapsed box when clicked on.
I kind of have it working, but for some reason, the page is jumping to the top when each box is clicked because it’s using a “#”
I am also trying to have an arrow at the top of each one when it collapsed like this:
But I’m wondering if that’s a good idea as I don’t think it will work on mobile!
Can anyone help me with why the page is jumping when clicked on?
I have this fiddle of what I currently have: