pxt-calliope/olddocs/js/lessons/show-string/challenges.md
2016-11-01 17:44:37 -07:00

39 lines
764 B
Markdown

# show string challenges
My script. #docs
**Challenge 0**
Welcome! This [guided tutorial](/pxjkww) introduces the basic show string method on the @boardname@.
Let's show the string 'Hello' on the LED screen. The string will scroll one character at a time from left to right.
```
basic.showString("Hello ", 150)
```
**Challenge 1**
Now, let's show the string 'World' on the LED screen.
```
basic.showString("Hello ", 150)
basic.showString("World", 150) // ***
```
**Challenge 2**
Let's display another string to introduce yourself!
After 'Hello World' we want to display the string 'My name is '.
```
basic.showString("Hello World", 150)
basic.showString("Good Night World ", 150) // ***
```
**Challenge 3**
Add Micro's response to Good Night World!