I have the following jquery code to toggle class :
$( document ).ready(function() {
$(".button").click(function(){
$("#wrapper-container").toggleClass('open-close');
});
});
Can anyone please convert this code in pure JavaScript so that it can run with jQuery library file. Update: Clicking element don't have an id so the other example is not working.