Trying to help my student. Might be an issue with variables. He wants the block to turn the color specified in the drop down menu when clicked. App Lab - Code.org
When you say
var x = "<color>" in one of the event functions, it creates a new variable that is defined only in that event scope (meaning, you can only use that variable in that function). If you get rid of the
var keyword before it, then you will be able to access the global x variable and it should work.