Slide 72
Slide 72 text
use jQuery
var button = jQuery('.button');
button.on('click', function(){
jQuery(this).addClass('active');
});
Vanilla.js
var button = document.querySelector('.button');
button.addEventListener('click', (e) => {
e.currentTarget.classList.add('active');
});
72