How to make accordion doesn't work and tell me Cannot read property 'classList' of undefined if element existed?

前端 未结 0 865
攒了一身酷
攒了一身酷 2021-02-01 02:03

This is what I have at the moment. This code doesn\'t work as it should.

I need to make that - if I press for header element section must disappear, when I press again it

相关标签:
回答
  • 消灭零回复
提交回复
热议问题