How To Make Button Hover When Clicked

@russian-dima Great, this is what I needed, thanks!

How to I make it so that the first one is automatically applied when you open the site.

$w.onReady(() => {
$w( “#button61” ).onClick(()=>{
$w( “#fullWidthSlides2” ).changeSlide( 0 )
$w( “#button61” ).style.backgroundColor= “rgb(52,191,82)”
$w( “#button56” ).style.backgroundColor= “rgb(55,55,55)”
$w( “#button62” ).style.backgroundColor= “rgb(55,55,55)”
})

$w( “#button56” ).onClick(()=> {
$w( “#fullWidthSlides2” ).changeSlide( 1 )
$w( “#button56” ).style.backgroundColor= “rgb(52,191,82)”
$w( “#button61” ).style.backgroundColor= “rgb(55,55,55)”
$w( “#button62” ).style.backgroundColor= “rgb(55,55,55)”
})

$w( “#button62” ).onClick(()=> {
$w( “#fullWidthSlides2” ).changeSlide( 2 )
$w( “#button62” ).style.backgroundColor= “rgb(52,191,82)” ;
$w( “#button61” ).style.backgroundColor= “rgb(55,55,55)”
$w( “#button56” ).style.backgroundColor= “rgb(55,55,55)”
})
})