added today's work
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user