Files
2026-02-26 21:55:48 +10:00

10 lines
258 B
JavaScript

document.querySelectorAll('img').forEach(function(img) {
img.addEventListener('mouseover', function() {
this.classList.add('border');
});
img.addEventListener('mouseout', function() {
this.classList.remove('border');
});
});