Keyboard in playground


#1

On iOS app, I am not able to access the keyboard in the playground. For instance, I cannot write blue when creating a box. It worked fine in the puzzle. In the playground, though, it doesn’t appear. Did I miss something? Thank you.


#2

You have to use str to write any word using thekeyboard


#3

How to write color in the following code in Code Playground on Android app?

drawBox(pickRandom(color))

Even writing with str it is not helping.


#4

In some puzzles there are variables defined that are hidden for the code view. color is one of these variables.

If you’ve made it through to the Arrays topic, you should be able to recreate the color variable, using code like:

var color = ['red', 'blue', 'green', 'orange', 'yellow']

You can then use the variable color, inside the pickRandom() function.

Hoping this helps!
H :slight_smile:


Problem with Code playground