Hey! I want the button to change back to its original colour when another is clicked. Here is the code I currently have.
$w.onReady(() => {
$w( " #button61 " ).onClick(()=> {
$w( " #fullWidthSlides2 " ).changeSlide( 0 )
$w( " #button61 " ).style.backgroundColor=“rgb(155,255,55)”
})
$w( " #button56 " ).onClick(()=> {
$w( " #fullWidthSlides2 " ).changeSlide( 1 )
$w( " #button 56" ).style.backgroundColor=“rgb(155,255,55)”
})
$ w( " #button62 " ).onClick(()=> {
$w( " #fullWidthSlides2 " ).changeSlide( 2 )
$w( " #button 62" ) .style.backgroundColor=“rgb(255,0,0)”;
})
})