alles grün
This commit is contained in:
parent
89f35a4c9e
commit
aa623124e9
@ -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";
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user