sidebar toggle with js

Side bar toggle with pure java script or sidebar menu

how to use side bar menu toggle with java script for HTML <div id=”sidebar”> <div class=”toggle-btn” onClick=”toggleSidebar()”> <span></span> <span></span> <span></span> </div> <ul> <li><a href=”#” >Home</a></li> <li><a href=”#” >About</a></li> <li><a href=”#” >Service</a></li> <li><a href=”#” >Product</a></li> <li><a href=”#” >Contact</a></li> </ul> </div> for CSS #sidebar{ position:fixed; width:250px; height:100%; READ MORE