let backgroundColor = $w ( ‘#button11’ ). style . backgroundColor ;
let bordercolor = $w ( ‘#button11’ ). style . borderColor ;
backgroundColor = “orange” ;
bordercolor = “black” ;
let backgroundColor = $w ( ‘#button11’ ). style . backgroundColor ;
let bordercolor = $w ( ‘#button11’ ). style . borderColor ;
backgroundColor = “orange” ;
bordercolor = “black” ;
I type in the above code to change the look of a button that has some text on it.
The root goal was to have the border color set to a sting bold solid black or black.
The background color set to a sting of orange.
Currently, I did not won’t to do to much changing I wanted to make sure the simple code changes work first.
Which I do normally in CSS which I can’t used in Velo.
I’m missing something somewhere.
The problem is when in preview mode the code not activating on element $w ( ‘#button11’ ).