Migrate docs from the other repo
This commit is contained in:
32
docs/reference/js/lessons/digital-pet/quiz.md
Normal file
32
docs/reference/js/lessons/digital-pet/quiz.md
Normal file
@ -0,0 +1,32 @@
|
||||
# digital pet quiz
|
||||
|
||||
A display of pet images for the BBC micro:bit
|
||||
|
||||
## Name
|
||||
|
||||
## Directions
|
||||
|
||||
Use this activity document to guide your work in the [digital pet tutorial](/microbit/lessons/digital-pet/tutorial)
|
||||
|
||||
Answer the questions while completing the tutorial. Pay attention to the dialogues!
|
||||
|
||||
## 1. What is a 'function'?
|
||||
|
||||
<br/>
|
||||
|
||||
## 2. Write the steps to create the function called set awake()
|
||||
|
||||
<br/>
|
||||
|
||||
## 3. Write the code inside the function "set awake()" that shows an image of the pet awake
|
||||
|
||||
<br/>
|
||||
|
||||
## 4. Write the steps to create the function called set sleep, function set sleep()
|
||||
|
||||
<br/>
|
||||
|
||||
## 5. Write the code inside the function "set sleep()" that shows an image of the pet asleep
|
||||
|
||||
<br/>
|
||||
|
Reference in New Issue
Block a user