Aug 9, 2017 · 1 min read
Good technique, thanks.
I would have written the jQuery part (this is not Javascript) as simple as
$('.icon').click(function() {
$(this).toogleClass('active');
});Good technique, thanks.
I would have written the jQuery part (this is not Javascript) as simple as
$('.icon').click(function() {
$(this).toogleClass('active');
});Written by