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.
You have to use str to write any word using thekeyboard
How to write color in the following code in Code Playground on Android app?
Even writing with
str it is not helping.
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
Hoping this helps!
A post was merged into an existing topic: Playground .push( ) missing?