How to close a block if another was opened?

  • 0
    If we opened the first block, and then opened the second, then the first should be closed, how to do it?
    https://codepen.io/5dc8b3/pen/MWyLmBX
    JavaScript Anonymous, Aug 4, 2020

  • 1 Answers
  • 0
    Before opening a new block, you must go over all open and close them.
    Anonymous

Your Answer
To place the code, please use CodePen or similar tool. Thanks you!