Simple Tabs and Quick Javascript Vanilla


Vanilla JavaScript Tabs is a simple and lightweight JS Tabs library for the web. How to make use of it: 1. Add the JavaScript vanilla-js-tabs.js and Stylesheet vanilla-js-tabs.css to the web page. <link rel=”stylesheet” href=”vanilla-js-tabs.css” /> <script src=”vanilla-js-tabs.min.js”></script> 2. The required HTML structure for the tabs. <div class=”js-tabs” id=”tabs”> <ul class=”js-tabs__header”> <li><a class=”js-tabs__title” href=”#”>Tab 1</a></li> … Read more