
check out that above image
whenever i click other buttons below, the previous one gets collapsed
but when i click the first button, it is not getting collapsed
So, what i want is, whenever i click on a exisiting button, that existing button should get collapsed
if i click "what is covid 19" button, then the exisiting button should be collapsed
hope my question is clear 🙂