pxt-microbit Accessibility PR (#529)

* Accessibility changes
This commit is contained in:
Sam El-Husseini
2017-09-07 13:42:08 -07:00
committed by GitHub
parent 3f87576a50
commit e3975e65e5
357 changed files with 1641 additions and 3540 deletions

View File

@ -2,13 +2,13 @@
Learn to design a blinking image.
### ~avatar avatar
## ~avatar avatar
Welcome! This tutorial will help you make a smiley face blink. Let's get started!
### ~
## ~
Create an animation with an image displaying a smiley face and the next image with no LEDs lit up. This will make it look like the smiley face is blinking as the display switches between images.
@ -29,9 +29,9 @@ basic.showLeds(`
`)
```
### ~avatar boothing
## ~avatar boothing
Excellent, you're ready to continue with the [challenges](/lessons/smiley/challenges)!
### ~
## ~

View File

@ -25,7 +25,7 @@ basic.showLeds(`
```
### Challenge 1
## Challenge 1
What if we want to make the face to frown on button pressed A?
@ -52,7 +52,7 @@ input.onButtonPressed(Button.A, () => {
})
```
### Challenge 2
## Challenge 2
@ -87,7 +87,7 @@ input.onButtonPressed(Button.A, () => {
* Run your code to see if it works as expected.
### Challenge 3
## Challenge 3
When *button B* is pressed, let's change the sad face back to a happy face. To do this, begin by adding a condition for `on button pressed` *B*. Next, show LEDs as a smiley face inside the condition.