Board Thread:Watercooler/@comment-25523075-20150804103143/@comment-5590118-20150804133539

returns an array of elements that have the specified class. Right now you are trying to access a property of an object to an array. You simply need to define which element in the array you want to alter.

For example, if you want to change the color of the first returned element you would do as follows:

If you want to alter the properties of all of them then you will need to iterate over the array and alter each element's color manually like so: