This commit is contained in:
2025-05-01 14:37:08 -06:00
parent b6008d462e
commit 5cd4571a92
91 changed files with 1009 additions and 36 deletions
+14
View File
@@ -0,0 +1,14 @@
document.querySelectorAll('div').forEach((d) => {
d.style.backgroundColor = 'black';
d.addEventListener('click', populate);
})
function populate() {
if (this.style.backgroundColor === 'black') {
this.style.backgroundColor = 'red';
this.style.borderRadius = '50%';
} else {
this.style.backgroundColor = 'black';
this.style.borderRadius = '0%';
}
}