Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- document.querySelector('#next-bt').addEventListener('click', function() {
- var firstInactive = document.querySelector('.tabs-heading.is-active:last-child + .tabs-heading');
- firstInactive.classList.add('is-active');
- });
Add Comment
Please, Sign In to add comment