I'm writing a HTML webPage, I use a button and I need to change his background-color on mouseover using a javascript function. Here is the code.
<button onmouseover="funzione(this)">BTN</button>
<script>
funzione(x){
x.style.background-color=#ffffff;
}
</script>