Hello.
It is necessary to do so that when one of the 4 buttons is activated, a separate display opens and the last active display hides.
Please tell me how to implement it correctly on JS?
An example of such buttons (works on the bootstrap) https://jsfiddle.net/35r3zbtp/
<div class="btn-group" data-toggle="buttons">