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?
    JavaScript Anonymous, Aug 4, 2020

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

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