diff --git a/colcha.js b/colcha.js index 7b69cf8..db2f52c 100644 --- a/colcha.js +++ b/colcha.js @@ -8,3 +8,10 @@ button.addEventListener("click",function(){ document.body.style.background="yellow"; filled=!filled; }); + +button.addEventListener("mouseover", (e) => { + e.target.style.color="orange"; + setTimeOut(() => { + e.target.style.color=""; + }, 1000); +}, false);