alles grün

This commit is contained in:
Felix Pankratz 2022-07-05 20:47:42 +02:00
parent 89f35a4c9e
commit aa623124e9

View File

@ -49,6 +49,7 @@ function generateTable() {
table.addEventListener('click', (ev) => { table.addEventListener('click', (ev) => {
if (ev.target.tagName.toLowerCase() == "td" ) { if (ev.target.tagName.toLowerCase() == "td" ) {
ev.target.style.borderColor = "green"; ev.target.style.borderColor = "green";
ev.target.style.backgroundColor = "green";
} }
}); });
} }