added today's work

This commit is contained in:
szabomarton
2024-09-30 13:12:50 +02:00
parent aaffbf1b3b
commit d75f655704
5 changed files with 162 additions and 2 deletions

View File

@@ -31,13 +31,11 @@
function szincsere() {
let color = "rgb("+a+","+b+","+c+")";
if (document.body.style.backgroundColor != "yellow"){
document.body.style.backgroundColor = "yellow";
} else {
document.body.style.backgroundColor = "purple";
}
}
document.getElementById("button2").addEventListener("click", mouseClick);