Migrate docs from the other repo
This commit is contained in:
54
docs/reference/js/lessons/smiley/quiz.md
Normal file
54
docs/reference/js/lessons/smiley/quiz.md
Normal file
@ -0,0 +1,54 @@
|
||||
# smiley quiz
|
||||
|
||||
make a smiley face blink #LED #screen #animation #docs
|
||||
|
||||
## Name
|
||||
|
||||
## 1. Describe what `basic->show animation` does
|
||||
|
||||
<br/>
|
||||
|
||||
<br/>
|
||||
|
||||
## 2. Why is there an extra empty frame after the smiley face?
|
||||
|
||||
```
|
||||
basic.showAnimation(`
|
||||
. # . # . . . . . .
|
||||
. # . # . . . . . .
|
||||
. . # . . . . . . .
|
||||
# . . . # . . . . .
|
||||
. # # # . . . . . .
|
||||
`, 400)
|
||||
```
|
||||
|
||||
<br/>
|
||||
|
||||
## 3. Change the delay shown from 400 milliseconds to 1000 milliseconds.
|
||||
|
||||
```
|
||||
basic.showAnimation(`
|
||||
. # . # . . . . . .
|
||||
. # . # . . . . . .
|
||||
. . # . . . . . . .
|
||||
# . . . # . . . . .
|
||||
. # # # . . . . . .
|
||||
`, 400)
|
||||
```
|
||||
|
||||
<br/>
|
||||
|
||||
## 4. Now let's change the delay shown below from 400 milliseconds to 2.5 seconds.
|
||||
|
||||
```
|
||||
basic.showAnimation(`
|
||||
. # . # . . . . . .
|
||||
. # . # . . . . . .
|
||||
. . # . . . . . . .
|
||||
# . . . # . . . . .
|
||||
. # # # . . . . . .
|
||||
`, 400)
|
||||
```
|
||||
|
||||
<br/>
|
||||
|
Reference in New Issue
Block a user