2022-2023/1NSI/08_Interaction_web/script/1E_interaction.js

10 lines
266 B
JavaScript
Raw Normal View History

2023-02-23 17:24:09 +00:00
function apparition(){
langages.style.backgroundColor = "white";
2023-02-23 17:24:09 +00:00
}
function disparition(){
langages.style.backgroundColor = "blue";
2023-02-23 17:24:09 +00:00
}
langages.onmouseover = disparition ;
langages.onmouseleave = apparition ;
langages.onclick = function() { alert("Clic !") ; } ;