38 lines
673 B
Markdown
Raw Normal View History

2016-03-25 16:47:20 -07:00
# lucky 7 blocks challenges
Coding challenges for lucky 7.
## Before we get started
2016-04-13 08:27:45 -07:00
Complete the [lucky 7 activity](/lessons/lucky-7/activity) and your code will look like this:
2016-03-25 16:47:20 -07:00
```blocks
basic.showNumber(7)
```
## Challenge 1
2016-03-25 16:47:20 -07:00
But we also should pause before showing another number. Let's add a pause of 500 milliseconds.
```blocks
basic.showNumber(7)
basic.pause(500)
```
## Challenge 2
2016-03-25 16:47:20 -07:00
What about other multiples of 7? Let's display the next multiple of 7 on the screen!
```blocks
basic.showNumber(7)
basic.pause(500)
basic.showNumber(14)
```
* Run the code to see if it works as expected.
## Challenge 3
2016-03-25 16:47:20 -07:00
2016-05-06 09:32:29 -07:00
Keep displaying multiples of 7 such as 21 and 28...
2016-03-25 16:47:20 -07:00