web-html5-scripts/loading-icons/loading-animation/script.js
2020-01-20 21:00:54 +01:00

4 lines
114 B
JavaScript

const bdy = document.querySelector('body');
addEventListener('click', e => {
bdy.classList.toggle('invert');
});