Lessons fixes (#1609)

* fixing a bunch of lessons

* more fixes

* more fixes

* more cleanup

* Additional fixes
This commit is contained in:
Peli de Halleux
2018-11-09 15:36:46 -08:00
committed by GitHub
parent 2aa8d0cec6
commit 50367217f3
20 changed files with 75 additions and 91 deletions

View File

@ -7,7 +7,7 @@ Coding challenges for magic logo.
Complete the [magic logo](/lessons/magic-logo/activity) activity and your code will look like this:
```blocks
input.onLogoUp(() => {
input.onGesture(Gesture.LogoUp, function () {
basic.showLeds(`
. . # . .
. # # # .
@ -25,7 +25,7 @@ input.onLogoUp(() => {
How about when the logo is down? We should display an arrow pointing downward!
```blocks
input.onLogoUp(() => {
input.onGesture(Gesture.LogoUp, function () {
basic.showLeds(`
. . # . .
. # # # .
@ -34,7 +34,7 @@ input.onLogoUp(() => {
. . # . .
`)
})
input.onLogoDown(() => {
input.onGesture(Gesture.LogoDown, function () {
basic.showLeds(`
. . # . .
. . # . .