update instructions to use inline buttons

This commit is contained in:
Peli de Halleux 2017-01-06 14:41:33 -08:00
parent 4681a68ffd
commit 1d82f08668

View File

@ -5,15 +5,12 @@
Place blocks in the workspace to scroll text on the screen.
```blocks
basic.showString("Hi!")
basic.showString("Hello!")
```
### Step 2
Transfer your code in your @boardname@! Click the **Download** button
and follow the instructions.
ANIMATEDGIF
Click ``|Download|`` to transfer your code in your @boardname@!
### Step 3
@ -22,20 +19,18 @@ Let's make it scroll when button **A** is pressed.
```block
input.onButtonPressed(Button.A, () => {
basic.showString("Hi!")
basic.showString("Hello!")
});
```
### Step 4
Transfer your code in your @boardname@ and try pressing **A**.
ANIMATEDGIF
Click ``|Download|`` to transfer your code
and press **A** to scroll your text.
### Step 5
Place more blocks to display a smiley when button **B** is pressed.
Download your code and try it!
```block
input.onButtonPressed(Button.B, () => {
@ -52,7 +47,6 @@ input.onButtonPressed(Button.B, () => {
### Step 6
Drag more blocks to display a frownie when @boardname@ is shaken.
Download your code and try it!
```block
input.onGesture(Gesture.Shake, () => {