I need add class \"active\" after click to button and remove all other \"active\" classes.
Look here please: https://codepen.io/azat-io/pen/RWjyZX
va
you can also use pure js to accomplish this like the old ways with jquery
try this if you want a simple way
document.getElementById("myID").classList.add("show-example");