Syntax for changing backgroundColor of a container


#1

What is the proper syntax for changing the background color of a container?

I tried the following but it did not work (I think I’m pretty close though):

Container1.backgroundColor.color=“red”


#2

After trial and error it works with the following command:

Container1.style.backgroundColor=“red”