Entering the code for an array

in the example it shows the code on one line
var exampleArray = [‘blue’, ‘orange’, 5, 10, ];

but it will not let you Enter it on one line.

I seam to have a lot of difficulty knowing when to (click) when to (tab) or (type) to actually create/enter the code. is there a page i can read about how to use the Coding interface?