batch fixing ](/microbit/ -> ](/ links
This commit is contained in:
1 parent
2e49901a7e
commit
d28efb3b84
517 files changed
+2235
-2235
No files matched your search
@@ -8,7 +8,7 @@ Functions
|
||||
|
||||
## Quick Links
|
||||
|
||||
* [tutorial](/microbit/lessons/2-player-pong/tutorial)
|
||||
* [tutorial](/lessons/2-player-pong/tutorial)
|
||||
|
||||
## Class
|
||||
|
||||
@@ -36,15 +36,15 @@ Learn how to create **functions**, `function()` as a unit of code that performs
|
||||
|
||||
## Documentation
|
||||
|
||||
* **functions** : [read more...](/microbit/js/function)
|
||||
* **on button pressed** : [read more...](/microbit/reference/input/on-button-pressed)
|
||||
* **for** : [read more...](/microbit/reference/loops/for)
|
||||
* **if** : [read more...](/microbit/reference/logic/if)
|
||||
* **show animation** : [read more...](/microbit/reference/basic/show-animation)
|
||||
* **functions** : [read more...](/js/function)
|
||||
* **on button pressed** : [read more...](/reference/input/on-button-pressed)
|
||||
* **for** : [read more...](/reference/loops/for)
|
||||
* **if** : [read more...](/reference/logic/if)
|
||||
* **show animation** : [read more...](/reference/basic/show-animation)
|
||||
|
||||
## Resources
|
||||
|
||||
* Activity: [tutorial](/microbit/lessons/2-player-pong/tutorial)
|
||||
* Activity: [tutorial](/lessons/2-player-pong/tutorial)
|
||||
|
||||
## Objectives
|
||||
|
||||
@@ -95,7 +95,7 @@ Computational Thinking Concept: AB = Abstraction; DE = Decomposition; AL = Algor
|
||||
## Activity
|
||||
|
||||
* time: 20 min.
|
||||
* [tutorial](/microbit/lessons/2-player-pong/tutorial)
|
||||
* [tutorial](/lessons/2-player-pong/tutorial)
|
||||
|
||||
## Intended follow on
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ a two-player game of Pong using TWO BBC micro:bits!.
|
||||
|
||||
## Directions
|
||||
|
||||
Use this activity document to guide your work in the [2 player pong tutorial](/microbit/lessons/2-player-pong/tutorial)
|
||||
Use this activity document to guide your work in the [2 player pong tutorial](/lessons/2-player-pong/tutorial)
|
||||
|
||||
Answer the questions while completing the tutorial. Pay attention to the dialogues!
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ a two-player game of Pong using TWO BBC micro:bits!.
|
||||
|
||||
## Directions
|
||||
|
||||
Use this activity document to guide your work in the [2 player pong tutorial](/microbit/lessons/2-player-pong/tutorial)
|
||||
Use this activity document to guide your work in the [2 player pong tutorial](/lessons/2-player-pong/tutorial)
|
||||
|
||||
Answer the questions while completing the tutorial. Pay attention to the dialogues!
|
||||
|
||||
|
||||
@@ -10,11 +10,11 @@ Show String
|
||||
|
||||
## Quick Links
|
||||
|
||||
* [activity](/microbit/lessons/answering-machine/activity)
|
||||
* [quiz](/microbit/lessons/answering-machine/quiz)
|
||||
* [quiz answers](/microbit/lessons/answering-machine/quiz-answers)
|
||||
* [challenges](/microbit/lessons/answering-machine/challenges)
|
||||
* [tutorial](/microbit/lessons/answering-machine/tutorial)
|
||||
* [activity](/lessons/answering-machine/activity)
|
||||
* [quiz](/lessons/answering-machine/quiz)
|
||||
* [quiz answers](/lessons/answering-machine/quiz-answers)
|
||||
* [challenges](/lessons/answering-machine/challenges)
|
||||
* [tutorial](/lessons/answering-machine/tutorial)
|
||||
|
||||
## Class
|
||||
|
||||
@@ -26,8 +26,8 @@ Learn how to creating a message with a **string**, `basic->show string` to write
|
||||
|
||||
## Documentation
|
||||
|
||||
* **show string** : [read more...](/microbit/reference/basic/show-string)
|
||||
* **on button pressed** : [read more...](/microbit/reference/input/on-button-pressed)
|
||||
* **show string** : [read more...](/reference/basic/show-string)
|
||||
* **on button pressed** : [read more...](/reference/input/on-button-pressed)
|
||||
|
||||
## Objectives
|
||||
|
||||
@@ -67,15 +67,15 @@ Computational Thinking Concept: AB = Abstraction; DE = Decomposition; AL = Algor
|
||||
## Activity
|
||||
|
||||
* time: 20 min.
|
||||
* [activity](/microbit/lessons/answering-machine/activity)
|
||||
* [quiz](/microbit/lessons/answering-machine/quiz)
|
||||
* [activity](/lessons/answering-machine/activity)
|
||||
* [quiz](/lessons/answering-machine/quiz)
|
||||
|
||||
## Extended Activity
|
||||
|
||||
* time: 20 min.
|
||||
* [challenges](/microbit/lessons/answering-machine/challenges)
|
||||
* [challenges](/lessons/answering-machine/challenges)
|
||||
|
||||
## Homework
|
||||
|
||||
* Extended Activity: [challenges](/microbit/lessons/answering-machine/challenges)
|
||||
* Extended Activity: [challenges](/lessons/answering-machine/challenges)
|
||||
|
||||
@@ -8,7 +8,7 @@ Music
|
||||
|
||||
## Quick Links
|
||||
|
||||
* [activity](/microbit/lessons/banana-keyboard/activity)
|
||||
* [activity](/lessons/banana-keyboard/activity)
|
||||
|
||||
## Class
|
||||
|
||||
|
||||
@@ -10,11 +10,11 @@ Show LEDs
|
||||
|
||||
## Quick Links
|
||||
|
||||
* [activity](/microbit/lessons/beautiful-image/activity)
|
||||
* [quiz](/microbit/lessons/beautiful-image/quiz)
|
||||
* [quiz answers](/microbit/lessons/beautiful-image/quiz-answers)
|
||||
* [challenges](/microbit/lessons/beautiful-image/challenges)
|
||||
* [tutorial](/microbit/lessons/beautiful-image/tutorial)
|
||||
* [activity](/lessons/beautiful-image/activity)
|
||||
* [quiz](/lessons/beautiful-image/quiz)
|
||||
* [quiz answers](/lessons/beautiful-image/quiz-answers)
|
||||
* [challenges](/lessons/beautiful-image/challenges)
|
||||
* [tutorial](/lessons/beautiful-image/tutorial)
|
||||
|
||||
## Class
|
||||
|
||||
@@ -26,8 +26,8 @@ Learn how to **show LEDs**, to show an image on the BBC micro:bit's LED screen.
|
||||
|
||||
## Documentation
|
||||
|
||||
* **show LEDs** : [read more...](/microbit/reference/basic/show-leds)
|
||||
* **pause** : [read more...](/microbit/reference/basic/pause)
|
||||
* **show LEDs** : [read more...](/reference/basic/show-leds)
|
||||
* **pause** : [read more...](/reference/basic/pause)
|
||||
|
||||
## Objectives
|
||||
|
||||
@@ -62,15 +62,15 @@ Computational Thinking Concept: AB = Abstraction; DE = Decomposition; AL = Algor
|
||||
## Activity
|
||||
|
||||
* time: 20 min.
|
||||
* [tutorial](/microbit/lessons/beautiful-image/tutorial)
|
||||
* [quiz](/microbit/lessons/beautiful-image/quiz)
|
||||
* [tutorial](/lessons/beautiful-image/tutorial)
|
||||
* [quiz](/lessons/beautiful-image/quiz)
|
||||
|
||||
## Extended Activity
|
||||
|
||||
* time: 20 min.
|
||||
* [challenges](/microbit/lessons/beautiful-image/challenges)
|
||||
* [challenges](/lessons/beautiful-image/challenges)
|
||||
|
||||
## Homework
|
||||
|
||||
* Extended Activity: [challenges](/microbit/lessons/beautiful-image/challenges)
|
||||
* Extended Activity: [challenges](/lessons/beautiful-image/challenges)
|
||||
|
||||
@@ -10,11 +10,11 @@ Plot
|
||||
|
||||
## Quick links
|
||||
|
||||
* [activity](/microbit/lessons/blink/activity)
|
||||
* [quiz](/microbit/lessons/blink/quiz)
|
||||
* [quiz answers](/microbit/lessons/blink/quiz-answers)
|
||||
* [challenges](/microbit/lessons/blink/challenges)
|
||||
* [tutorial](/microbit/lessons/blink/tutorial)
|
||||
* [activity](/lessons/blink/activity)
|
||||
* [quiz](/lessons/blink/quiz)
|
||||
* [quiz answers](/lessons/blink/quiz-answers)
|
||||
* [challenges](/lessons/blink/challenges)
|
||||
* [tutorial](/lessons/blink/tutorial)
|
||||
|
||||
## Class
|
||||
|
||||
@@ -36,16 +36,16 @@ Learn how to control a blinking LED. We will be learning how to create a blinkin
|
||||
|
||||
## Documentation
|
||||
|
||||
* **plot**: [read more...](/microbit/reference/led/plot)
|
||||
* **unplot**: [read more...](/microbit/reference/led/unplot)
|
||||
* **pause**: [read more...](/microbit/reference/basic/pause)
|
||||
* **forever**: [read more...](/microbit/reference/basic/forever)
|
||||
* **plot**: [read more...](/reference/led/plot)
|
||||
* **unplot**: [read more...](/reference/led/unplot)
|
||||
* **pause**: [read more...](/reference/basic/pause)
|
||||
* **forever**: [read more...](/reference/basic/forever)
|
||||
|
||||
## Resources
|
||||
|
||||
* Activity: [tutorial](/microbit/lessons/blink/tutorial)
|
||||
* Activity: [quiz](/microbit/lessons/blink/quiz)
|
||||
* Extended Activity: [challenges](/microbit/lessons/blink/challenges)
|
||||
* Activity: [tutorial](/lessons/blink/tutorial)
|
||||
* Activity: [quiz](/lessons/blink/quiz)
|
||||
* Extended Activity: [challenges](/lessons/blink/challenges)
|
||||
|
||||
## Objectives
|
||||
|
||||
@@ -78,18 +78,18 @@ Computational Thinking Concept: AB = Abstraction; DE = Decomposition; AL = Algor
|
||||
## Activity
|
||||
|
||||
* time: 20 min.
|
||||
* [tutorial](/microbit/lessons/blink/tutorial)
|
||||
* [quiz](/microbit/lessons/blink/quiz)
|
||||
* [quiz answers](/microbit/lessons/blink/quiz-answers)
|
||||
* [tutorial](/lessons/blink/tutorial)
|
||||
* [quiz](/lessons/blink/quiz)
|
||||
* [quiz answers](/lessons/blink/quiz-answers)
|
||||
|
||||
## Extended Activity
|
||||
|
||||
* time: 20 min.
|
||||
* [challenges](/microbit/lessons/blink/challenges)
|
||||
* [challenges](/lessons/blink/challenges)
|
||||
|
||||
## Homework
|
||||
|
||||
* Extended Activity: [challenges](/microbit/lessons/blink/challenges)
|
||||
* Extended Activity: [challenges](/lessons/blink/challenges)
|
||||
|
||||
## Intended follow on
|
||||
|
||||
|
||||
@@ -49,7 +49,7 @@ basic.forever(() => {
|
||||
|
||||
### ~avatar boothing
|
||||
|
||||
Excellent, you're ready to continue with the [challenges](/microbit/lessons/blink/challenges)!
|
||||
Excellent, you're ready to continue with the [challenges](/lessons/blink/challenges)!
|
||||
|
||||
### ~
|
||||
|
||||
@@ -4,7 +4,7 @@ Coding challenges for the blink tutorial.
|
||||
|
||||
## Before we get started
|
||||
|
||||
Complete the [blink](/microbit/lessons/blink/activity) activity and your code will look like this:
|
||||
Complete the [blink](/lessons/blink/activity) activity and your code will look like this:
|
||||
|
||||
```
|
||||
basic.forever(() => {
|
||||
|
||||
@@ -10,10 +10,10 @@ Plot - Blinking LED
|
||||
|
||||
## Quick links
|
||||
|
||||
* [tutorial](/microbit/lessons/blink/tutorial)
|
||||
* [quiz](/microbit/js/blink/quiz)
|
||||
* [quiz answers](/microbit/lessons/blink/quiz-answers)
|
||||
* [challenges](/microbit/lessons/blink/challenges)
|
||||
* [tutorial](/lessons/blink/tutorial)
|
||||
* [quiz](/js/blink/quiz)
|
||||
* [quiz answers](/lessons/blink/quiz-answers)
|
||||
* [challenges](/lessons/blink/challenges)
|
||||
|
||||
## Class
|
||||
|
||||
@@ -37,16 +37,16 @@ Learn how to control a blinking LED. We will be learning how to create a blinkin
|
||||
|
||||
## Documentation
|
||||
|
||||
* **plot**: [read more...](/microbit/reference/led/plot)
|
||||
* **pause**: [read more...](/microbit/reference/basic/pause)
|
||||
* **clear screen**: [read more...](/microbit/reference/basic/clear-screen)
|
||||
* **forever**: [read more...](/microbit/reference/basic/forever)
|
||||
* **plot**: [read more...](/reference/led/plot)
|
||||
* **pause**: [read more...](/reference/basic/pause)
|
||||
* **clear screen**: [read more...](/reference/basic/clear-screen)
|
||||
* **forever**: [read more...](/reference/basic/forever)
|
||||
|
||||
## Resources
|
||||
|
||||
* Activity: [tutorial](/microbit/lessons/blink/tutorial)
|
||||
* Activity: [quiz](/microbit/lessons/blink/quiz)
|
||||
* Extended Activity: [challenges](/microbit/lessons/blink/challenges)
|
||||
* Activity: [tutorial](/lessons/blink/tutorial)
|
||||
* Activity: [quiz](/lessons/blink/quiz)
|
||||
* Extended Activity: [challenges](/lessons/blink/challenges)
|
||||
|
||||
## Objectives
|
||||
|
||||
@@ -81,19 +81,19 @@ Computational Thinking Concept: AB = Abstraction; DE = Decomposition; AL = Algor
|
||||
## Activity
|
||||
|
||||
* time: 20 min.
|
||||
* [tutorial](/microbit/lessons/blink/tutorial)
|
||||
* [quiz](/microbit/lessons/blink/quiz)
|
||||
* [tutorial](/lessons/blink/tutorial)
|
||||
* [quiz](/lessons/blink/quiz)
|
||||
* assessment opportunities: forever, plot, pause, clear screen
|
||||
|
||||
## Extended Activity
|
||||
|
||||
* time: 20 min.
|
||||
* [challenges](/microbit/lessons/blink/challenges)
|
||||
* [challenges](/lessons/blink/challenges)
|
||||
* assessment opportunities: loops, plot, pause, clear screen
|
||||
|
||||
## Homework
|
||||
|
||||
* Extended Activity: [challenges](/microbit/lessons/blink/challenges)
|
||||
* Extended Activity: [challenges](/lessons/blink/challenges)
|
||||
|
||||
## Intended follow on
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
Learn how to create a blinking LED script.
|
||||
|
||||
This is the answer key for the [blink quiz](/microbit/lessons/blink/quiz).
|
||||
This is the answer key for the [blink quiz](/lessons/blink/quiz).
|
||||
|
||||
## 1. Describe what `led->plot` does?
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ Learn how to create a blinking LED script.
|
||||
|
||||
## Directions
|
||||
|
||||
Use this activity document to guide your work in the [blink tutorial](/microbit/lessons/blink/tutorial).
|
||||
Use this activity document to guide your work in the [blink tutorial](/lessons/blink/tutorial).
|
||||
|
||||
Answer the questions while completing the tutorial. Pay attention to the dialogues!
|
||||
|
||||
|
||||
@@ -8,10 +8,10 @@ Game Library
|
||||
|
||||
## Quick Links
|
||||
|
||||
* [tutorial](/microbit/lessons/bop-it/tutorial)
|
||||
* [quiz](/microbit/lessons/bop-it/quiz)
|
||||
* [quiz answers](/microbit/lessons/bop-it/quiz-answers)
|
||||
* [challenges](/microbit/lessons/bop-it/challenges)
|
||||
* [tutorial](/lessons/bop-it/tutorial)
|
||||
* [quiz](/lessons/bop-it/quiz)
|
||||
* [quiz answers](/lessons/bop-it/quiz-answers)
|
||||
* [challenges](/lessons/bop-it/challenges)
|
||||
|
||||
## Class
|
||||
|
||||
@@ -23,18 +23,18 @@ Learn how to create a minesweeper game with **if**, `if condition do` , **global
|
||||
|
||||
## Documentation
|
||||
|
||||
* **game library** : [read more...](/microbit/js/game-library)
|
||||
* **global variables** : [read more...](/microbit/js/data)
|
||||
* **assignment operator** : [read more...](/microbit/reference/variables/assignment)
|
||||
* **functions** : [read more...](/microbit/js/function)
|
||||
* **call** : [read more...](/microbit/js/call)
|
||||
* **math random number** : [read more...](/microbit/js/math)
|
||||
* **on button pressed** : [read more...](/microbit/reference/input/on-button-pressed)
|
||||
* **on logo down** : [read more...](/microbit/functions/on-logo-down)
|
||||
* **on shake** : [read more...](/microbit/reference/input/on-gesture)
|
||||
* **if** : [read more...](/microbit/reference/logic/if)
|
||||
* **show number** : [read more...](/microbit/reference/basic/show-number)
|
||||
* **show string** : [read more...](/microbit/reference/basic/show-string)
|
||||
* **game library** : [read more...](/js/game-library)
|
||||
* **global variables** : [read more...](/js/data)
|
||||
* **assignment operator** : [read more...](/reference/variables/assignment)
|
||||
* **functions** : [read more...](/js/function)
|
||||
* **call** : [read more...](/js/call)
|
||||
* **math random number** : [read more...](/js/math)
|
||||
* **on button pressed** : [read more...](/reference/input/on-button-pressed)
|
||||
* **on logo down** : [read more...](/functions/on-logo-down)
|
||||
* **on shake** : [read more...](/reference/input/on-gesture)
|
||||
* **if** : [read more...](/reference/logic/if)
|
||||
* **show number** : [read more...](/reference/basic/show-number)
|
||||
* **show string** : [read more...](/reference/basic/show-string)
|
||||
|
||||
## Objectives
|
||||
|
||||
@@ -83,15 +83,15 @@ Computational Thinking Concept: AB = Abstraction; DE = Decomposition; AL = Algor
|
||||
## Activity
|
||||
|
||||
* time: 20 min.
|
||||
* [tutorial](/microbit/lessons/bop-it/tutorial)
|
||||
* [quiz](/microbit/lessons/bop-it/quiz)
|
||||
* [tutorial](/lessons/bop-it/tutorial)
|
||||
* [quiz](/lessons/bop-it/quiz)
|
||||
|
||||
## Extended Activity
|
||||
|
||||
* time: 20 min.
|
||||
* [challenges](/microbit/lessons/bop-it/challenges)
|
||||
* [challenges](/lessons/bop-it/challenges)
|
||||
|
||||
## Homework
|
||||
|
||||
* Extended Activity: [challenges](/microbit/lessons/bop-it/challenges)
|
||||
* Extended Activity: [challenges](/lessons/bop-it/challenges)
|
||||
|
||||
@@ -10,10 +10,10 @@ Basic- Show Animation
|
||||
|
||||
## Quick Links
|
||||
|
||||
* [tutorial](/microbit/lessons/bounce-image/tutorial)
|
||||
* [quiz](/microbit/lessons/bounce-image/quiz)
|
||||
* [quiz answers](/microbit/lessons/bounce-image/quiz-answers)
|
||||
* [challenges](/microbit/lessons/bounce-image/challenges)
|
||||
* [tutorial](/lessons/bounce-image/tutorial)
|
||||
* [quiz](/lessons/bounce-image/quiz)
|
||||
* [quiz answers](/lessons/bounce-image/quiz-answers)
|
||||
* [challenges](/lessons/bounce-image/challenges)
|
||||
|
||||
## Class
|
||||
|
||||
@@ -39,15 +39,15 @@ Learn how to creating an **animation**, `basic->show animation` to display a ser
|
||||
|
||||
## Documentation
|
||||
|
||||
* **forever** : [read more...](/microbit/reference/basic/forever)
|
||||
* **show animation** : [read more...](/microbit/reference/basic/show-animation)
|
||||
* **on shake** : [read more...](/microbit/reference/input/on-gesture)
|
||||
* **forever** : [read more...](/reference/basic/forever)
|
||||
* **show animation** : [read more...](/reference/basic/show-animation)
|
||||
* **on shake** : [read more...](/reference/input/on-gesture)
|
||||
|
||||
## Resources
|
||||
|
||||
* Activity: [tutorial](/microbit/lessons/bounce-image/tutorial)
|
||||
* Activity: [quiz](/microbit/lessons/bounce-image/quiz)
|
||||
* Extended Activity: [challenges](/microbit/lessons/bounce-image/challenges)
|
||||
* Activity: [tutorial](/lessons/bounce-image/tutorial)
|
||||
* Activity: [quiz](/lessons/bounce-image/quiz)
|
||||
* Extended Activity: [challenges](/lessons/bounce-image/challenges)
|
||||
|
||||
## Objectives
|
||||
|
||||
@@ -90,17 +90,17 @@ Computational Thinking Concept: AB = Abstraction; DE = Decomposition; AL = Algor
|
||||
## Activity
|
||||
|
||||
* time: 20 min.
|
||||
* [tutorial](/microbit/lessons/bounce-image/tutorial)
|
||||
* [quiz](/microbit/lessons/bounce-image/quiz)
|
||||
* [tutorial](/lessons/bounce-image/tutorial)
|
||||
* [quiz](/lessons/bounce-image/quiz)
|
||||
|
||||
## Extended Activity
|
||||
|
||||
* time: 20 min.
|
||||
* [challenges](/microbit/lessons/bounce-image/challenges)
|
||||
* [challenges](/lessons/bounce-image/challenges)
|
||||
|
||||
## Homework
|
||||
|
||||
* Extended Activity: [challenges](/microbit/lessons/bounce-image/challenges)
|
||||
* Extended Activity: [challenges](/lessons/bounce-image/challenges)
|
||||
|
||||
## Intended follow on
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ Coding challenges for the bounce image tutorial. #docs
|
||||
|
||||
Complete the following guided tutorial:
|
||||
|
||||
* [tutorial](/microbit/lessons/bounce-image/tutorial)
|
||||
* [tutorial](/lessons/bounce-image/tutorial)
|
||||
|
||||
At the end of the tutorial, click `keep editing`. Your code should look like this:
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
scroll an image on the BBC micro:bit.
|
||||
|
||||
This is the answer key for the [bounce image quiz](/microbit/lessons/bounce-image/quiz).
|
||||
This is the answer key for the [bounce image quiz](/lessons/bounce-image/quiz).
|
||||
|
||||
## 1. What does it mean to 'add frames' ?
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ scroll an image on the BBC micro:bit.
|
||||
|
||||
## Directions
|
||||
|
||||
Use this document to guide your work in the [bounce image tutorial](/microbit/lessons/bounce-image/tutorial) !
|
||||
Use this document to guide your work in the [bounce image tutorial](/lessons/bounce-image/tutorial) !
|
||||
|
||||
Answer the questions while completing the tutorial. Pay attention to the dialogues!
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
My script. #docs
|
||||
|
||||
This [guided tutorial](/microbit/lessons/boxer-mania/tutorial) will help you create an animation!
|
||||
This [guided tutorial](/lessons/boxer-mania/tutorial) will help you create an animation!
|
||||
|
||||
**Challenge 0**
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@ This guide will show you how to use a break statement within a while loop. #docs
|
||||
|
||||
### Challenge 0
|
||||
|
||||
Welcome! This [guided tutorial](/microbit/lessons/break/tutorial) will assist you with this activity.
|
||||
Welcome! This [guided tutorial](/lessons/break/tutorial) will assist you with this activity.
|
||||
|
||||
```
|
||||
count = 0
|
||||
|
||||
@@ -4,7 +4,7 @@ My script. #docs
|
||||
|
||||
### Challenge 0
|
||||
|
||||
Howdy! This [guided tutorial](/microbit/rxqgzy) will help you complete this activity!
|
||||
Howdy! This [guided tutorial](/rxqgzy) will help you complete this activity!
|
||||
|
||||
In this guide, you will learn how to use buttons and show text on the screen. Let's start by adding to respond **when the left button is pressed**.
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ Learn how to create a blinking LED script with a for loop.
|
||||
|
||||
## Directions
|
||||
|
||||
Use this activity document to guide your work in the [light column cascade tutorial](/microbit/js/light-column-cascade/tutorial).
|
||||
Use this activity document to guide your work in the [light column cascade tutorial](/js/light-column-cascade/tutorial).
|
||||
|
||||
Answer the questions below while working on or after you finish the tutorial. Pay attention to the dialogs!
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@ My script. #docs
|
||||
|
||||
### Challenge 0
|
||||
|
||||
Welcome! This [guided tutorial](/microbit/hzckbb) will help you create the script to clear the screen!
|
||||
Welcome! This [guided tutorial](/hzckbb) will help you create the script to clear the screen!
|
||||
|
||||
Your goal is to clear the screen after displaying an animation. Begin by showing and displaying an animation. Remember that the `show animation` is in the `basic` namespace. We then need to detect when the "A" button is pressed. Finally, clear the screen by typing in `basic->clear screen`.
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ Learn how to create a blinking LED script with a for loop.
|
||||
|
||||
## Directions
|
||||
|
||||
Use this activity document to guide your work in the [light column cascade tutorial](/microbit/js/light-column-cascade/tutorial).
|
||||
Use this activity document to guide your work in the [light column cascade tutorial](/js/light-column-cascade/tutorial).
|
||||
|
||||
Answer the questions below while working on or after you finish the tutorial. Pay attention to the dialogs!
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@ These challenges allow you to set the value of a counter to 1 when button B is p
|
||||
|
||||
### Challenge 0
|
||||
|
||||
Welcome! This [guided tutorial](/microbit/lessons/comparison/tutorial) will assist you with using the comparison operator.
|
||||
Welcome! This [guided tutorial](/lessons/comparison/tutorial) will assist you with using the comparison operator.
|
||||
|
||||
```
|
||||
counter = 0
|
||||
|
||||
@@ -4,5 +4,5 @@ build a compass app that applies the BBC micro:bit magnetic sensor (magnetometer
|
||||
|
||||
build a compass app that applies the BBC micro:bit magnetic sensor (magnetometer)
|
||||
|
||||
* [tutorial](/microbit/lessons/compass/tutorial)
|
||||
* [challenges](/microbit/lessons/compass/challenges)
|
||||
* [tutorial](/lessons/compass/tutorial)
|
||||
* [challenges](/lessons/compass/challenges)
|
||||
@@ -6,7 +6,7 @@ Display the direction that the BBC micro:bit is facing using the compass
|
||||
|
||||
Complete the following guided tutorial:
|
||||
|
||||
* [tutorial](/microbit/lessons/compass/tutorial)
|
||||
* [tutorial](/lessons/compass/tutorial)
|
||||
|
||||
At the end of the tutorial, click `keep editing`. Your code should look like this:
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ Create an actual compass to show your direction: North, South, East, or West
|
||||
|
||||
## Directions
|
||||
|
||||
Use this activity document to guide your work in the [compass tutorial](/microbit/lessons/compass/tutorial).
|
||||
Use this activity document to guide your work in the [compass tutorial](/lessons/compass/tutorial).
|
||||
|
||||
Answer the questions while completing the tutorial. Pay attention to the dialogues!
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ Create an actual compass to show your direction: North, South, East, or West
|
||||
|
||||
## Directions
|
||||
|
||||
Use this activity document to guide your work in the [compass tutorial](/microbit/lessons/compass/tutorial).
|
||||
Use this activity document to guide your work in the [compass tutorial](/lessons/compass/tutorial).
|
||||
|
||||
Answer the questions while completing the tutorial. Pay attention to the dialogues!
|
||||
|
||||
|
||||
@@ -10,11 +10,11 @@ Variables
|
||||
|
||||
## Quick Links
|
||||
|
||||
* [activity](/microbit/lessons/counter/activity)
|
||||
* [challenges](/microbit/lessons/counter/challenges)
|
||||
* [quiz](/microbit/lessons/counter/quiz)
|
||||
* [quiz answers](/microbit/lessons/counter/quiz-answers)
|
||||
* [tutorial](/microbit/lessons/counter/tutorial)
|
||||
* [activity](/lessons/counter/activity)
|
||||
* [challenges](/lessons/counter/challenges)
|
||||
* [quiz](/lessons/counter/quiz)
|
||||
* [quiz answers](/lessons/counter/quiz-answers)
|
||||
* [tutorial](/lessons/counter/tutorial)
|
||||
|
||||
## Class
|
||||
|
||||
@@ -26,10 +26,10 @@ Learn how to creating a **variable** to keep track of the current count. We will
|
||||
|
||||
## Documentation
|
||||
|
||||
* **variable**: [read more...](/microbit/reference/variables/var)
|
||||
* **arithmetic operators**: [read more...](/microbit/reference/types/number)
|
||||
* **on button pressed** : [read more...](/microbit/reference/input/on-button-pressed)
|
||||
* **show number** : [read more...](/microbit/reference/basic/show-number)
|
||||
* **variable**: [read more...](/reference/variables/var)
|
||||
* **arithmetic operators**: [read more...](/reference/types/number)
|
||||
* **on button pressed** : [read more...](/reference/input/on-button-pressed)
|
||||
* **show number** : [read more...](/reference/basic/show-number)
|
||||
|
||||
## Objectives
|
||||
|
||||
@@ -65,16 +65,16 @@ Computational Thinking Concept: AB = Abstraction; DE = Decomposition; AL = Algor
|
||||
## Activity
|
||||
|
||||
* time: 20 min.
|
||||
* [activity](/microbit/lessons/counter/activity)
|
||||
* [tutorial](/microbit/lessons/counter/tutorial)
|
||||
* [quiz](/microbit/lessons/counter/quiz)
|
||||
* [activity](/lessons/counter/activity)
|
||||
* [tutorial](/lessons/counter/tutorial)
|
||||
* [quiz](/lessons/counter/quiz)
|
||||
|
||||
## Extended Activity
|
||||
|
||||
* time: 20 min.
|
||||
* [challenges](/microbit/lessons/counter/challenges)
|
||||
* [challenges](/lessons/counter/challenges)
|
||||
|
||||
## Homework
|
||||
|
||||
* Extended Activity: [challenges](/microbit/lessons/counter/challenges)
|
||||
* Extended Activity: [challenges](/lessons/counter/challenges)
|
||||
|
||||
@@ -10,7 +10,7 @@ Welcome! This tutorial will teach you how to make a counter that increments when
|
||||
|
||||
### ~
|
||||
|
||||
To create a new script, go to the [Create Code](/microbit/create-code) page and tap *New Project* under **Touch Develop**.
|
||||
To create a new script, go to the [Create Code](/create-code) page and tap *New Project* under **Touch Develop**.
|
||||
|
||||
Let's start by creating a **local variable** `count` to keep track of the current count.
|
||||
|
||||
@@ -39,7 +39,7 @@ input.onButtonPressed(Button.A, () => {
|
||||
|
||||
### ~avatar avatar
|
||||
|
||||
Excellent, you're ready to continue with the [challenges](/microbit/lessons/counter/challenges)!
|
||||
Excellent, you're ready to continue with the [challenges](/lessons/counter/challenges)!
|
||||
|
||||
### ~
|
||||
|
||||
@@ -4,7 +4,7 @@ Coding challenges for the counter tutorial.
|
||||
|
||||
## Before we get started
|
||||
|
||||
Complete the following [guided tutorial](/microbit/lessons/counter/activity) At the end of the tutorial, your code should look like this:
|
||||
Complete the following [guided tutorial](/lessons/counter/activity) At the end of the tutorial, your code should look like this:
|
||||
|
||||
```
|
||||
let count = 0
|
||||
|
||||
@@ -30,15 +30,15 @@ Learn how to creating a **variable** to keep track of the current count. We will
|
||||
|
||||
## Documentation
|
||||
|
||||
* **variables**: [read more...](/microbit/reference/variables/var)
|
||||
* **on button pressed** : [read more...](/microbit/reference/input/on-button-pressed)
|
||||
* **show number** : [read more...](/microbit/reference/basic/show-number)
|
||||
* **variables**: [read more...](/reference/variables/var)
|
||||
* **on button pressed** : [read more...](/reference/input/on-button-pressed)
|
||||
* **show number** : [read more...](/reference/basic/show-number)
|
||||
|
||||
## Resources
|
||||
|
||||
* Activity: [tutorial](/microbit/lessons/counter/tutorial)
|
||||
* Activity: [quiz](/microbit/lessons/counter/quiz)
|
||||
* Extended Activity: [challenges](/microbit/lessons/counter/challenges)
|
||||
* Activity: [tutorial](/lessons/counter/tutorial)
|
||||
* Activity: [quiz](/lessons/counter/quiz)
|
||||
* Extended Activity: [challenges](/lessons/counter/challenges)
|
||||
|
||||
## Objectives
|
||||
|
||||
@@ -71,19 +71,19 @@ Computational Thinking Concept: AB = Abstraction; DE = Decomposition; AL = Algor
|
||||
## Activity
|
||||
|
||||
* time: 20 min.
|
||||
* [tutorial](/microbit/lessons/counter/tutorial)
|
||||
* [quiz](/microbit/lessons/counter/quiz)
|
||||
* [tutorial](/lessons/counter/tutorial)
|
||||
* [quiz](/lessons/counter/quiz)
|
||||
* assessment opportunities: forever, plot, pause, clear screen
|
||||
|
||||
## Extended Activity
|
||||
|
||||
* time: 20 min.
|
||||
* [challenges](/microbit/lessons/counter/challenges)
|
||||
* [challenges](/lessons/counter/challenges)
|
||||
* assessment opportunities: loops, plot, pause, clear screen
|
||||
|
||||
## Homework
|
||||
|
||||
* Extended Activity: [challenges](/microbit/lessons/counter/challenges)
|
||||
* Extended Activity: [challenges](/lessons/counter/challenges)
|
||||
|
||||
## Intended follow on
|
||||
|
||||
|
||||
@@ -8,11 +8,11 @@ If (Conditionals)
|
||||
|
||||
## Quick Links
|
||||
|
||||
* [activity](/microbit/lessons/die-roll/activity)
|
||||
* [challenges](/microbit/lessons/die-roll/challenges)
|
||||
* [quiz](/microbit/lessons/die-roll/quiz)
|
||||
* [quiz answers](/microbit/lessons/die-roll/quiz-answers)
|
||||
* [tutorial](/microbit/lessons/die-roll/tutorial)
|
||||
* [activity](/lessons/die-roll/activity)
|
||||
* [challenges](/lessons/die-roll/challenges)
|
||||
* [quiz](/lessons/die-roll/quiz)
|
||||
* [quiz answers](/lessons/die-roll/quiz-answers)
|
||||
* [tutorial](/lessons/die-roll/tutorial)
|
||||
|
||||
## Class
|
||||
|
||||
@@ -24,12 +24,12 @@ Learn how to use an if statements to run code run code depending on whether a co
|
||||
|
||||
## Documentation
|
||||
|
||||
* **Variables** : [read more...](/microbit/reference/variables/var)
|
||||
* **If** : [read more...](/microbit/reference/logic/if)
|
||||
* **On Shake** : [read more...](/microbit/reference/input/on-gesture)
|
||||
* **Assignment Operator** : [read more...](/microbit/reference/variables/assign)
|
||||
* **Math Random** : [read more...](/microbit/js/math)
|
||||
* **Show LEDs** : [read more...](/microbit/reference/basic/show-leds)
|
||||
* **Variables** : [read more...](/reference/variables/var)
|
||||
* **If** : [read more...](/reference/logic/if)
|
||||
* **On Shake** : [read more...](/reference/input/on-gesture)
|
||||
* **Assignment Operator** : [read more...](/reference/variables/assign)
|
||||
* **Math Random** : [read more...](/js/math)
|
||||
* **Show LEDs** : [read more...](/reference/basic/show-leds)
|
||||
|
||||
## Objectives
|
||||
|
||||
@@ -76,16 +76,16 @@ Computational Thinking Concept: AB = Abstraction; DE = Decomposition; AL = Algor
|
||||
## Activity
|
||||
|
||||
* time: 20 min.
|
||||
* [activity](/microbit/lessons/die-roll/activity)
|
||||
* [tutorial](/microbit/lessons/die-roll/tutorial)
|
||||
* [quiz](/microbit/lessons/die-roll/quiz)
|
||||
* [activity](/lessons/die-roll/activity)
|
||||
* [tutorial](/lessons/die-roll/tutorial)
|
||||
* [quiz](/lessons/die-roll/quiz)
|
||||
|
||||
## Extended Activity
|
||||
|
||||
* time: 20 min.
|
||||
* [challenges](/microbit/lessons/die-roll/challenges)
|
||||
* [challenges](/lessons/die-roll/challenges)
|
||||
|
||||
## Homework
|
||||
|
||||
* Extended Activity: [challenges](/microbit/lessons/die-roll/challenges)
|
||||
* Extended Activity: [challenges](/lessons/die-roll/challenges)
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
Create a die on the BBC micro:bit
|
||||
|
||||
To create a new script, go to the [Create Code](/microbit/create-code) page and tap *New Project* under **KindScript**.
|
||||
To create a new script, go to the [Create Code](/create-code) page and tap *New Project* under **KindScript**.
|
||||
|
||||
Let's create a condition for when the BBC micro:bit is shaken.
|
||||
|
||||
@@ -124,7 +124,7 @@ input.onGesture(Gesture.Shake, () => {
|
||||
|
||||
### ~avatar avatar
|
||||
|
||||
Excellent, you're ready to continue with the [challenges](/microbit/lessons/die-roll/challenges)!
|
||||
Excellent, you're ready to continue with the [challenges](/lessons/die-roll/challenges)!
|
||||
|
||||
### ~
|
||||
|
||||
@@ -6,7 +6,7 @@ Create a die on the BBC micro:bit.
|
||||
|
||||
Complete the following guided tutorial:
|
||||
|
||||
* [tutorial](/microbit/lessons/die-roll/tutorial)
|
||||
* [tutorial](/lessons/die-roll/tutorial)
|
||||
|
||||
At the end of the tutorial, click `keep editing`. Your code should look like this:
|
||||
|
||||
|
||||
@@ -10,10 +10,10 @@ While Loop
|
||||
|
||||
## Quick Links
|
||||
|
||||
* [tutorial](/microbit/lessons/digi-yoyo/tutorial)
|
||||
* [quiz](/microbit/lessons/digi-yoyo/quiz)
|
||||
* [quiz answers](/microbit/lessons/digi-yoyo/quiz-answers)
|
||||
* [challenges](/microbit/lessons/digi-yoyo/challenges)
|
||||
* [tutorial](/lessons/digi-yoyo/tutorial)
|
||||
* [quiz](/lessons/digi-yoyo/quiz)
|
||||
* [quiz answers](/lessons/digi-yoyo/quiz-answers)
|
||||
* [challenges](/lessons/digi-yoyo/challenges)
|
||||
|
||||
## Class
|
||||
|
||||
@@ -25,12 +25,12 @@ Learn how to creating a **while loop**, `while condition do` to repeat code whil
|
||||
|
||||
## Documentation
|
||||
|
||||
* **local variables** : [read more...](/microbit/reference/variables/var)
|
||||
* **assignment operator** : [read more...](/microbit/reference/variables/assign)
|
||||
* **while loop** : [read more...](/microbit/js/while)
|
||||
* **relational operator ** : [read more...](/microbit/reference/types/number)
|
||||
* **pause** : [read more...](/microbit/reference/basic/pause)
|
||||
* **show number** : [read more...](/microbit/reference/basic/show-number)
|
||||
* **local variables** : [read more...](/reference/variables/var)
|
||||
* **assignment operator** : [read more...](/reference/variables/assign)
|
||||
* **while loop** : [read more...](/js/while)
|
||||
* **relational operator ** : [read more...](/reference/types/number)
|
||||
* **pause** : [read more...](/reference/basic/pause)
|
||||
* **show number** : [read more...](/reference/basic/show-number)
|
||||
|
||||
## Objectives
|
||||
|
||||
@@ -77,15 +77,15 @@ Computational Thinking Concept: AB = Abstraction; DE = Decomposition; AL = Algor
|
||||
## Activity
|
||||
|
||||
* time: 20 min.
|
||||
* [tutorial](/microbit/lessons/digi-yoyo/tutorial)
|
||||
* [quiz](/microbit/lessons/digi-yoyo/quiz)
|
||||
* [tutorial](/lessons/digi-yoyo/tutorial)
|
||||
* [quiz](/lessons/digi-yoyo/quiz)
|
||||
|
||||
## Extended Activity
|
||||
|
||||
* time: 20 min.
|
||||
* [challenges](/microbit/lessons/digi-yoyo/challenges)
|
||||
* [challenges](/lessons/digi-yoyo/challenges)
|
||||
|
||||
## Homework
|
||||
|
||||
* Extended Activity: [challenges](/microbit/lessons/digi-yoyo/challenges)
|
||||
* Extended Activity: [challenges](/lessons/digi-yoyo/challenges)
|
||||
|
||||
@@ -6,7 +6,7 @@ Coding challenges for the digi yoyo.
|
||||
|
||||
Complete the following guided tutorial:
|
||||
|
||||
* [tutorial](/microbit/lessons/digi-yoyo/tutorial)
|
||||
* [tutorial](/lessons/digi-yoyo/tutorial)
|
||||
|
||||
At the end of the tutorial, click `keep editing`. Your code should look like this:
|
||||
|
||||
|
||||
@@ -10,10 +10,10 @@ Functions
|
||||
|
||||
## Quick Links
|
||||
|
||||
* [tutorial](/microbit/lessons/digital-pet/tutorial)
|
||||
* [quiz](/microbit/lessons/digital-pet/quiz)
|
||||
* [quiz answers](/microbit/lessons/digital-pet/quiz-answers)
|
||||
* [challenges](/microbit/lessons/digital-pet/challenges)
|
||||
* [tutorial](/lessons/digital-pet/tutorial)
|
||||
* [quiz](/lessons/digital-pet/quiz)
|
||||
* [quiz answers](/lessons/digital-pet/quiz-answers)
|
||||
* [challenges](/lessons/digital-pet/challenges)
|
||||
|
||||
## Class
|
||||
|
||||
@@ -43,23 +43,23 @@ Learn how to create **functions**, `function()` that perform a specific task and
|
||||
|
||||
## Documentation
|
||||
|
||||
* **function** : [read more...](/microbit/js/function)
|
||||
* **call** : [read more...](/microbit/js/call)
|
||||
* **global variable** : [read more...](/microbit/js/data)
|
||||
* **assignment operator** : [read more...](/microbit/reference/variables/assign)
|
||||
* **forever** : [read more...](/microbit/reference/basic/forever)
|
||||
* **button is pressed** : [read more...](/microbit/reference/input/button-is-pressed)
|
||||
* **show string** : [read more...](/microbit/reference/basic/show-string)
|
||||
* **show number** : [read more...](/microbit/reference/basic/show-number)
|
||||
* **create image** : [read more...](/microbit/reference/images/create-image)
|
||||
* **show image** : [read more...](/microbit/reference/images/show-image)
|
||||
* **pause** : [read more...](/microbit/reference/basic/pause)
|
||||
* **function** : [read more...](/js/function)
|
||||
* **call** : [read more...](/js/call)
|
||||
* **global variable** : [read more...](/js/data)
|
||||
* **assignment operator** : [read more...](/reference/variables/assign)
|
||||
* **forever** : [read more...](/reference/basic/forever)
|
||||
* **button is pressed** : [read more...](/reference/input/button-is-pressed)
|
||||
* **show string** : [read more...](/reference/basic/show-string)
|
||||
* **show number** : [read more...](/reference/basic/show-number)
|
||||
* **create image** : [read more...](/reference/images/create-image)
|
||||
* **show image** : [read more...](/reference/images/show-image)
|
||||
* **pause** : [read more...](/reference/basic/pause)
|
||||
|
||||
## Resources
|
||||
|
||||
* Activity: [tutorial](/microbit/lessons/digital-pet/tutorial)
|
||||
* Activity: [quiz](/microbit/lessons/digital-pet/quiz)
|
||||
* Extended Activity: [challenges](/microbit/lessons/digital-pet/challenges)
|
||||
* Activity: [tutorial](/lessons/digital-pet/tutorial)
|
||||
* Activity: [quiz](/lessons/digital-pet/quiz)
|
||||
* Extended Activity: [challenges](/lessons/digital-pet/challenges)
|
||||
|
||||
## Objectives
|
||||
|
||||
@@ -115,17 +115,17 @@ Computational Thinking Concept: AB = Abstraction; DE = Decomposition; AL = Algor
|
||||
## Activity
|
||||
|
||||
* time: 20 min.
|
||||
* [tutorial](/microbit/lessons/digital-pet/tutorial)
|
||||
* [quiz](/microbit/lessons/digital-pet/quiz)
|
||||
* [tutorial](/lessons/digital-pet/tutorial)
|
||||
* [quiz](/lessons/digital-pet/quiz)
|
||||
|
||||
## Extended Activity
|
||||
|
||||
* time: 20 min.
|
||||
* [challenges](/microbit/lessons/digital-pet/challenges)
|
||||
* [challenges](/lessons/digital-pet/challenges)
|
||||
|
||||
## Homework
|
||||
|
||||
* Extended Activity: [challenges](/microbit/lessons/digital-pet/challenges)
|
||||
* Extended Activity: [challenges](/lessons/digital-pet/challenges)
|
||||
|
||||
## Intended follow on
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ Coding challenges for the digital pet tutorial.
|
||||
|
||||
Complete the following guided tutorial:
|
||||
|
||||
* [tutorial](/microbit/lessons/digital-pet/tutorial)
|
||||
* [tutorial](/lessons/digital-pet/tutorial)
|
||||
|
||||
At the end of the tutorial, click `keep editing`. Your code should look like this:
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ A display of pet images for the BBC micro:bit
|
||||
|
||||
## Directions
|
||||
|
||||
Use this activity document to guide your work in the [digital pet tutorial](/microbit/lessons/digital-pet/tutorial)
|
||||
Use this activity document to guide your work in the [digital pet tutorial](/lessons/digital-pet/tutorial)
|
||||
|
||||
Answer the questions while completing the tutorial. Pay attention to the dialogues!
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ A display of pet images for the BBC micro:bit
|
||||
|
||||
## Directions
|
||||
|
||||
Use this activity document to guide your work in the [digital pet tutorial](/microbit/lessons/digital-pet/tutorial)
|
||||
Use this activity document to guide your work in the [digital pet tutorial](/lessons/digital-pet/tutorial)
|
||||
|
||||
Answer the questions while completing the tutorial. Pay attention to the dialogues!
|
||||
|
||||
|
||||
@@ -10,11 +10,11 @@ Pause
|
||||
|
||||
## Quick links
|
||||
|
||||
* [activity](/microbit/lessons/flashing-heart/activity)
|
||||
* [quiz](/microbit/lessons/flashing-heart/quiz)
|
||||
* [quiz answers](/microbit/lessons/flashing-heart/quiz-answers)
|
||||
* [challenges](/microbit/lessons/flashing-heart/challenges)
|
||||
* [tutorial](/microbit/lessons/flashing-heart/tutorial)
|
||||
* [activity](/lessons/flashing-heart/activity)
|
||||
* [quiz](/lessons/flashing-heart/quiz)
|
||||
* [quiz answers](/lessons/flashing-heart/quiz-answers)
|
||||
* [challenges](/lessons/flashing-heart/challenges)
|
||||
* [tutorial](/lessons/flashing-heart/tutorial)
|
||||
|
||||
## Class
|
||||
|
||||
@@ -36,10 +36,10 @@ Learn how to **plot image** by turning on a series of LED lights on the LED scre
|
||||
|
||||
## Documentation
|
||||
|
||||
* **forever**: [read more...](/microbit/reference/basic/forever)
|
||||
* **plot image** : [read more...](/microbit/reference/led/plot-image)
|
||||
* **pause**: [read more...](/microbit/reference/basic/pause)
|
||||
* **clear screen**: [read more...](/microbit/reference/basic/clear-screen)
|
||||
* **forever**: [read more...](/reference/basic/forever)
|
||||
* **plot image** : [read more...](/reference/led/plot-image)
|
||||
* **pause**: [read more...](/reference/basic/pause)
|
||||
* **clear screen**: [read more...](/reference/basic/clear-screen)
|
||||
|
||||
## Objectives
|
||||
|
||||
@@ -75,17 +75,17 @@ Computational Thinking Concept: AB = Abstraction; DE = Decomposition; AL = Algor
|
||||
## Exercise
|
||||
|
||||
* time: 20 min.
|
||||
* [activity](/microbit/lessons/flashing-heart/activity) or [tutorial](/microbit/lessons/flashing-heart/tutorial)
|
||||
* [quiz](/microbit/lessons/flashing-heart/quiz)
|
||||
* [activity](/lessons/flashing-heart/activity) or [tutorial](/lessons/flashing-heart/tutorial)
|
||||
* [quiz](/lessons/flashing-heart/quiz)
|
||||
|
||||
## Extended Activity
|
||||
|
||||
* time: 20 min.
|
||||
* [challenges](/microbit/lessons/flashing-heart/challenges)
|
||||
* [challenges](/lessons/flashing-heart/challenges)
|
||||
|
||||
## Homework
|
||||
|
||||
* Extended Activity: [challenges](/microbit/lessons/flashing-heart/challenges)
|
||||
* Extended Activity: [challenges](/lessons/flashing-heart/challenges)
|
||||
|
||||
## Intended follow on
|
||||
|
||||
|
||||
@@ -57,7 +57,7 @@ basic.forever(() => {
|
||||
|
||||
### ~avatar boothing
|
||||
|
||||
Excellent, you're ready to continue with the [challenges](/microbit/lessons/flashing-heart/challenges)!
|
||||
Excellent, you're ready to continue with the [challenges](/lessons/flashing-heart/challenges)!
|
||||
|
||||
### ~
|
||||
|
||||
@@ -4,7 +4,7 @@ Coding challenges for flashing heart.
|
||||
|
||||
## Before we get started
|
||||
|
||||
Complete the [flashing heart](/microbit/lessons/flashing-heart/activity) activity and your code will look like this:
|
||||
Complete the [flashing heart](/lessons/flashing-heart/activity) activity and your code will look like this:
|
||||
|
||||
```
|
||||
basic.forever(() => {
|
||||
|
||||
@@ -30,18 +30,18 @@ Learn how to control a blinking LED image. We will be learning how to create a b
|
||||
|
||||
## Documentation
|
||||
|
||||
* **global variables**: [read more...](/microbit/js/data)
|
||||
* **create image** : [read more...](/microbit/reference/images/create-image)
|
||||
* **show image** : [read more...](/microbit/reference/images/show-image)
|
||||
* **pause**: [read more...](/microbit/reference/basic/pause)
|
||||
* **clear screen**: [read more...](/microbit/reference/basic/clear-screen)
|
||||
* **forever**: [read more...](/microbit/reference/basic/forever)
|
||||
* **global variables**: [read more...](/js/data)
|
||||
* **create image** : [read more...](/reference/images/create-image)
|
||||
* **show image** : [read more...](/reference/images/show-image)
|
||||
* **pause**: [read more...](/reference/basic/pause)
|
||||
* **clear screen**: [read more...](/reference/basic/clear-screen)
|
||||
* **forever**: [read more...](/reference/basic/forever)
|
||||
|
||||
## Resources
|
||||
|
||||
* Activity: [tutorial](/microbit/lessons/flashing-heart/tutorial)
|
||||
* Activity: [quiz](/microbit/lessons/flashing-heart/quiz)
|
||||
* Extended Activity: [challenges](/microbit/lessons/flashing-heart/challenges)
|
||||
* Activity: [tutorial](/lessons/flashing-heart/tutorial)
|
||||
* Activity: [quiz](/lessons/flashing-heart/quiz)
|
||||
* Extended Activity: [challenges](/lessons/flashing-heart/challenges)
|
||||
|
||||
## Objectives
|
||||
|
||||
@@ -82,19 +82,19 @@ Computational Thinking Concept: AB = Abstraction; DE = Decomposition; AL = Algor
|
||||
## Activity
|
||||
|
||||
* time: 20 min.
|
||||
* [tutorial](/microbit/lessons/flashing-heart/tutorial)
|
||||
* [quiz](/microbit/lessons/flashing-heart/quiz)
|
||||
* [tutorial](/lessons/flashing-heart/tutorial)
|
||||
* [quiz](/lessons/flashing-heart/quiz)
|
||||
* assessment opportunities: forever, plot, pause, clear screen
|
||||
|
||||
## Extended Activity
|
||||
|
||||
* time: 20 min.
|
||||
* [challenges](/microbit/lessons/flashing-heart/challenges)
|
||||
* [challenges](/lessons/flashing-heart/challenges)
|
||||
* assessment opportunities: loops, plot, pause, clear screen
|
||||
|
||||
## Homework
|
||||
|
||||
* Extended Activity: [challenges](/microbit/lessons/flashing-heart/challenges)
|
||||
* Extended Activity: [challenges](/lessons/flashing-heart/challenges)
|
||||
|
||||
## Intended follow on
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
Learn how to create images with global variables.
|
||||
|
||||
This is the answer key for the [flashing heart quiz](/microbit/lessons/flashing-heart/quiz).
|
||||
This is the answer key for the [flashing heart quiz](/lessons/flashing-heart/quiz).
|
||||
|
||||
## 1. Describe what `basic->show leds` does
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ Learn how to create a blinking LED script with a variable.
|
||||
|
||||
## Directions
|
||||
|
||||
Use this activity document to guide your work in the [flashing heart activity](/microbit/lessons/flashing-heart/activity).
|
||||
Use this activity document to guide your work in the [flashing heart activity](/lessons/flashing-heart/activity).
|
||||
|
||||
Answer the questions while completing the activity. Pay attention to the dialogues!
|
||||
|
||||
|
||||
@@ -10,10 +10,10 @@ Math - Modulo
|
||||
|
||||
## Quick Links
|
||||
|
||||
* [tutorial](/microbit/lessons/flipping-bird/tutorial)
|
||||
* [quiz](/microbit/lessons/flipping-bird/quiz)
|
||||
* [quiz answers](/microbit/lessons/flipping-bird/quiz-answers)
|
||||
* [challenges](/microbit/lessons/flipping-bird/challenges)
|
||||
* [tutorial](/lessons/flipping-bird/tutorial)
|
||||
* [quiz](/lessons/flipping-bird/quiz)
|
||||
* [quiz answers](/lessons/flipping-bird/quiz-answers)
|
||||
* [challenges](/lessons/flipping-bird/challenges)
|
||||
|
||||
## Class
|
||||
|
||||
@@ -36,17 +36,17 @@ Learn how to return the **modulus**, `math->mod` to determine if you will plot i
|
||||
|
||||
## Documentation
|
||||
|
||||
* **global variables** : [read more...](/microbit/js/data)
|
||||
* **on shake** : [read more...](/microbit/reference/input/on-gesture)
|
||||
* **if** : [read more...](/microbit/reference/logic/if)
|
||||
* **math modulo** : [read more...](/microbit/js/math)
|
||||
* **plot image** : [read more...](/microbit/reference/led/plot-image)
|
||||
* **global variables** : [read more...](/js/data)
|
||||
* **on shake** : [read more...](/reference/input/on-gesture)
|
||||
* **if** : [read more...](/reference/logic/if)
|
||||
* **math modulo** : [read more...](/js/math)
|
||||
* **plot image** : [read more...](/reference/led/plot-image)
|
||||
|
||||
## Resources
|
||||
|
||||
* Activity: [tutorial](/microbit/lessons/flipping-bird/tutorial)
|
||||
* Activity: [quiz](/microbit/lessons/flipping-bird/quiz)
|
||||
* Extended Activity: [challenges](/microbit/lessons/flipping-bird/challenges)
|
||||
* Activity: [tutorial](/lessons/flipping-bird/tutorial)
|
||||
* Activity: [quiz](/lessons/flipping-bird/quiz)
|
||||
* Extended Activity: [challenges](/lessons/flipping-bird/challenges)
|
||||
|
||||
## Objectives
|
||||
|
||||
@@ -105,18 +105,18 @@ Computational Thinking Concept: AB = Abstraction; DE = Decomposition; AL = Algor
|
||||
## Activity
|
||||
|
||||
* time: 20 min.
|
||||
* [tutorial](/microbit/lessons/flipping-bird/tutorial)
|
||||
* [quiz](/microbit/lessons/flipping-bird/quiz)
|
||||
* [tutorial](/lessons/flipping-bird/tutorial)
|
||||
* [quiz](/lessons/flipping-bird/quiz)
|
||||
|
||||
## Extended Activity
|
||||
|
||||
* time: 20 min.
|
||||
* [challenges](/microbit/lessons/flipping-bird/challenges)
|
||||
* [challenges](/lessons/flipping-bird/challenges)
|
||||
* assessment opportunities: loops, plot, pause, clear screen
|
||||
|
||||
## Homework
|
||||
|
||||
* Extended Activity: [challenges](/microbit/lessons/flipping-bird/challenges)
|
||||
* Extended Activity: [challenges](/lessons/flipping-bird/challenges)
|
||||
|
||||
## Intended follow on
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ Coding challenges for flipping bird. #docs
|
||||
|
||||
Complete the following guided tutorial:
|
||||
|
||||
* [tutorial](/microbit/lessons/flipping-bird/tutorial)
|
||||
* [tutorial](/lessons/flipping-bird/tutorial)
|
||||
|
||||
At the end of the tutorial, click `keep editing`. Your code should look like this:
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
use modulo with a conditional.
|
||||
|
||||
This is the answer key for the [flipping bird quiz](/microbit/lessons/flipping-bird/quiz).
|
||||
This is the answer key for the [flipping bird quiz](/lessons/flipping-bird/quiz).
|
||||
|
||||
## 1. What does "modulo" mean in math?
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ use modulo with a conditional.
|
||||
|
||||
## Directions
|
||||
|
||||
Use this activity document to guide your work in the [flipping bird tutorial](/microbit/lessons/flipping-bird/tutorial).
|
||||
Use this activity document to guide your work in the [flipping bird tutorial](/lessons/flipping-bird/tutorial).
|
||||
|
||||
Answer the questions while completing the tutorial. Pay attention to the dialogues!
|
||||
|
||||
|
||||
@@ -14,10 +14,10 @@ Basic - Show Number
|
||||
|
||||
## Quick Links TODO:
|
||||
|
||||
* [tutorial](/microbit/lessons/lucky-7/tutorial)
|
||||
* [quiz](/microbit/lessons/lucky-7/quiz)
|
||||
* [quiz answers](/microbit/lessons/lucky-7/quiz-answers)
|
||||
* [challenges](/microbit/lessons/lucky-7/challenges)
|
||||
* [tutorial](/lessons/lucky-7/tutorial)
|
||||
* [quiz](/lessons/lucky-7/quiz)
|
||||
* [quiz answers](/lessons/lucky-7/quiz-answers)
|
||||
* [challenges](/lessons/lucky-7/challenges)
|
||||
|
||||
## Class
|
||||
|
||||
@@ -73,13 +73,13 @@ Learn how to creating a **global number variable**, `data->count` to keep track
|
||||
|
||||
## Documentation TODO:
|
||||
|
||||
* **show number** : [read more...](/microbit/reference/basic/show-number)
|
||||
* **show number** : [read more...](/reference/basic/show-number)
|
||||
|
||||
## Resources TODO:
|
||||
|
||||
* Activity: [tutorial](/microbit/lessons/lucky-7/tutorial)
|
||||
* Activity: [quiz](/microbit/lessons/lucky-7/quiz)
|
||||
* Extended Activity: [challenges](/microbit/lessons/lucky-7/challenges)
|
||||
* Activity: [tutorial](/lessons/lucky-7/tutorial)
|
||||
* Activity: [quiz](/lessons/lucky-7/quiz)
|
||||
* Extended Activity: [challenges](/lessons/lucky-7/challenges)
|
||||
|
||||
## Objectives TODO:
|
||||
|
||||
@@ -171,19 +171,19 @@ Computational Thinking Concept: AB = Abstraction; DE = Decomposition; AL = Algor
|
||||
## Activity TODO:
|
||||
|
||||
* time: 20 min.
|
||||
* [tutorial](/microbit/lessons/lucky-7/tutorial)
|
||||
* [quiz](/microbit/lessons/lucky-7/quiz)
|
||||
* [tutorial](/lessons/lucky-7/tutorial)
|
||||
* [quiz](/lessons/lucky-7/quiz)
|
||||
* assessment opportunities: forever, plot, pause, clear screen
|
||||
|
||||
## Extended Activity TODO:
|
||||
|
||||
* time: 20 min.
|
||||
* [challenges](/microbit/lessons/lucky-7/challenges)
|
||||
* [challenges](/lessons/lucky-7/challenges)
|
||||
* assessment opportunities: loops, plot, pause, clear screen
|
||||
|
||||
## Homework TODO:
|
||||
|
||||
* Extended Activity: [challenges](/microbit/lessons/lucky-7/challenges)
|
||||
* Extended Activity: [challenges](/lessons/lucky-7/challenges)
|
||||
|
||||
## Intended follow on
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@ These challenges will allow you to create a counter from 0-5 and then from 5-0.
|
||||
|
||||
### Challenge 0
|
||||
|
||||
Welcome! This [guided tutorial](/microbit/bcvgkf) will assist you with the following activity:
|
||||
Welcome! This [guided tutorial](/bcvgkf) will assist you with the following activity:
|
||||
|
||||
```
|
||||
for (let i = 0; i < 6; i++) {
|
||||
|
||||
@@ -8,11 +8,11 @@ Acceleration
|
||||
|
||||
## Quick Links
|
||||
|
||||
* [activity](/microbit/lessons/glowing-pendulum/activity)
|
||||
* [challenges](/microbit/lessons/glowing-pendulum/challenges)
|
||||
* [quiz](/microbit/lessons/glowing-pendulum/quiz)
|
||||
* [quiz answers](/microbit/lessons/glowing-pendulum/quiz-answers)
|
||||
* [tutorial](/microbit/lessons/glowing-pendulum/tutorial)
|
||||
* [activity](/lessons/glowing-pendulum/activity)
|
||||
* [challenges](/lessons/glowing-pendulum/challenges)
|
||||
* [quiz](/lessons/glowing-pendulum/quiz)
|
||||
* [quiz answers](/lessons/glowing-pendulum/quiz-answers)
|
||||
* [tutorial](/lessons/glowing-pendulum/tutorial)
|
||||
|
||||
## Class
|
||||
|
||||
@@ -24,12 +24,12 @@ Learn how to get the acceleration **acceleration**, `input->acceleration` value
|
||||
|
||||
## Documentation
|
||||
|
||||
* **forever** : [read more...](/microbit/reference/basic/forever)
|
||||
* **local variable** : [read more...](/microbit/reference/variables/var)
|
||||
* **acceleration** : [read more...](/microbit/reference/input/acceleration)
|
||||
* **absolute value** : [read more...](/microbit/js/math)
|
||||
* **set brightness** : [read more...](/microbit/reference/led/set-brightness)
|
||||
* **plot** : [read more...](/microbit/reference/led/set-brightness)
|
||||
* **forever** : [read more...](/reference/basic/forever)
|
||||
* **local variable** : [read more...](/reference/variables/var)
|
||||
* **acceleration** : [read more...](/reference/input/acceleration)
|
||||
* **absolute value** : [read more...](/js/math)
|
||||
* **set brightness** : [read more...](/reference/led/set-brightness)
|
||||
* **plot** : [read more...](/reference/led/set-brightness)
|
||||
|
||||
## Objectives
|
||||
|
||||
@@ -75,16 +75,16 @@ Computational Thinking Concept: AB = Abstraction; DE = Decomposition; AL = Algor
|
||||
## Activity
|
||||
|
||||
* time: 20 min.
|
||||
* [activity](/microbit/lessons/glowing-pendulum/activity)
|
||||
* [tutorial](/microbit/lessons/glowing-pendulum/tutorial)
|
||||
* [quiz](/microbit/lessons/glowing-pendulum/quiz)
|
||||
* [activity](/lessons/glowing-pendulum/activity)
|
||||
* [tutorial](/lessons/glowing-pendulum/tutorial)
|
||||
* [quiz](/lessons/glowing-pendulum/quiz)
|
||||
|
||||
## Extended Activity
|
||||
|
||||
* time: 20 min.
|
||||
* [challenges](/microbit/lessons/glowing-pendulum/challenges)
|
||||
* [challenges](/lessons/glowing-pendulum/challenges)
|
||||
|
||||
## Homework
|
||||
|
||||
* Extended Activity: [challenges](/microbit/lessons/glowing-pendulum/challenges)
|
||||
* Extended Activity: [challenges](/lessons/glowing-pendulum/challenges)
|
||||
|
||||
@@ -8,7 +8,7 @@ Welcome! This guided activity will teach how to construct a pendulum that glows
|
||||
|
||||
### ~
|
||||
|
||||
To create a new script, go to the [Create Code](/microbit/create-code) page and tap *New Project* under **Touch Develop**.
|
||||
To create a new script, go to the [Create Code](/create-code) page and tap *New Project* under **Touch Develop**.
|
||||
|
||||
Create a **forever** loop that will constantly display the appropriate brightness on the LED display.
|
||||
|
||||
@@ -69,7 +69,7 @@ basic.forever(() => {
|
||||
|
||||
### ~avatar avatar
|
||||
|
||||
Excellent, you're ready to continue with the [challenges](/microbit/lessons/glowing-pendulum/challenges)!
|
||||
Excellent, you're ready to continue with the [challenges](/lessons/glowing-pendulum/challenges)!
|
||||
|
||||
### ~
|
||||
|
||||
@@ -6,7 +6,7 @@ Coding challenges for the glowing pendulum tutorial. #docs
|
||||
|
||||
Complete the following guided tutorial:
|
||||
|
||||
* [tutorial](/microbit/lessons/glowing-pendulum/tutorial)
|
||||
* [tutorial](/lessons/glowing-pendulum/tutorial)
|
||||
|
||||
At the end of the tutorial, click `keep editing`. Your code should look like this:
|
||||
|
||||
|
||||
@@ -10,11 +10,11 @@ Fade Out
|
||||
|
||||
## Quick Links
|
||||
|
||||
* [activity](/microbit/lessons/glowing-sword/activity)
|
||||
* [quiz](/microbit/lessons/glowing-sword/quiz)
|
||||
* [quiz answers](/microbit/lessons/glowing-sword/quiz-answers)
|
||||
* [challenges](/microbit/lessons/glowing-sword/challenges)
|
||||
* [tutorial](/microbit/lessons/glowing-sword/tutorial)
|
||||
* [activity](/lessons/glowing-sword/activity)
|
||||
* [quiz](/lessons/glowing-sword/quiz)
|
||||
* [quiz answers](/lessons/glowing-sword/quiz-answers)
|
||||
* [challenges](/lessons/glowing-sword/challenges)
|
||||
* [tutorial](/lessons/glowing-sword/tutorial)
|
||||
|
||||
## Class
|
||||
|
||||
@@ -36,16 +36,16 @@ Learn how to manipulate an image through **fade out**, `led->fade out` to gradua
|
||||
|
||||
## Documentation
|
||||
|
||||
* **plot image** : [read more...](/microbit/reference/led/plot-image)
|
||||
* **fade out** : [read more...](/microbit/reference/led/fade-out)
|
||||
* **pause** : [read more...](/microbit/reference/basic/pause)
|
||||
* **fade in** : [read more...](/microbit/reference/led/fade-in)
|
||||
* **plot image** : [read more...](/reference/led/plot-image)
|
||||
* **fade out** : [read more...](/reference/led/fade-out)
|
||||
* **pause** : [read more...](/reference/basic/pause)
|
||||
* **fade in** : [read more...](/reference/led/fade-in)
|
||||
|
||||
## Resources
|
||||
|
||||
* Activity: [tutorial](/microbit/lessons/glowing-sword/tutorial)
|
||||
* Activity: [quiz](/microbit/lessons/glowing-sword/quiz)
|
||||
* Extended Activity: [challenges](/microbit/lessons/glowing-sword/challenges)
|
||||
* Activity: [tutorial](/lessons/glowing-sword/tutorial)
|
||||
* Activity: [quiz](/lessons/glowing-sword/quiz)
|
||||
* Extended Activity: [challenges](/lessons/glowing-sword/challenges)
|
||||
|
||||
## Objectives
|
||||
|
||||
@@ -79,17 +79,17 @@ Computational Thinking Concept: AB = Abstraction; DE = Decomposition; AL = Algor
|
||||
## Activity
|
||||
|
||||
* time: 20 min.
|
||||
* [tutorial](/microbit/lessons/glowing-sword/tutorial)
|
||||
* [quiz](/microbit/lessons/lucky-7/quiz)
|
||||
* [tutorial](/lessons/glowing-sword/tutorial)
|
||||
* [quiz](/lessons/lucky-7/quiz)
|
||||
|
||||
## Extended Activity
|
||||
|
||||
* time: 20 min.
|
||||
* [challenges](/microbit/lessons/glowing-sword/challenges)
|
||||
* [challenges](/lessons/glowing-sword/challenges)
|
||||
|
||||
## Homework
|
||||
|
||||
* Extended Activity: [challenges](/microbit/lessons/glowing-sword/challenges)
|
||||
* Extended Activity: [challenges](/lessons/glowing-sword/challenges)
|
||||
|
||||
## Intended follow on
|
||||
|
||||
|
||||
@@ -57,7 +57,7 @@ led.fadeIn(700) // ***
|
||||
|
||||
### ~avatar boothing
|
||||
|
||||
Excellent, you're ready to continue with the [challenges](/microbit/lessons/glowing-sword/challenges)!
|
||||
Excellent, you're ready to continue with the [challenges](/lessons/glowing-sword/challenges)!
|
||||
|
||||
### ~
|
||||
|
||||
@@ -4,7 +4,7 @@ Coding challenges for the glowing sword tutorial. #docs
|
||||
|
||||
## Before we get started
|
||||
|
||||
Complete the [glowing sword](/microbit/lessons/glowing-sword/activity) activity and your code will look like this:
|
||||
Complete the [glowing sword](/lessons/glowing-sword/activity) activity and your code will look like this:
|
||||
|
||||
```
|
||||
basic.plotImage(`
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
The answers for the glowing sword quiz.
|
||||
|
||||
This is the answer key for the [glowing sword quiz](/microbit/lessons/glowing-sword/quiz).
|
||||
This is the answer key for the [glowing sword quiz](/lessons/glowing-sword/quiz).
|
||||
|
||||
## 1. What is "fade out" ?
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ make a glowing sword.
|
||||
|
||||
## Directions
|
||||
|
||||
Use this activity document to guide your work in the [glowing sword tutorial](/microbit/lessons/glowing-sword/tutorial)
|
||||
Use this activity document to guide your work in the [glowing sword tutorial](/lessons/glowing-sword/tutorial)
|
||||
|
||||
Answer the questions while completing the tutorial. Pay attention to the dialogues!
|
||||
|
||||
|
||||
@@ -10,11 +10,11 @@ Math - Random Numbers
|
||||
|
||||
## Quick links
|
||||
|
||||
* [activity](/microbit/lessons/guess-the-number/activity)
|
||||
* [challenges](/microbit/lessons/guess-the-number/challenges)
|
||||
* [quiz](/microbit/lessons/guess-the-number/quiz)
|
||||
* [quiz answers](/microbit/lessons/guess-the-number/quiz-answers)
|
||||
* [tutorial](/microbit/lessons/guess-the-number/tutorial)
|
||||
* [activity](/lessons/guess-the-number/activity)
|
||||
* [challenges](/lessons/guess-the-number/challenges)
|
||||
* [quiz](/lessons/guess-the-number/quiz)
|
||||
* [quiz answers](/lessons/guess-the-number/quiz-answers)
|
||||
* [tutorial](/lessons/guess-the-number/tutorial)
|
||||
|
||||
## Class
|
||||
|
||||
@@ -26,12 +26,12 @@ Learn how to create numbers randomly by using the input of the BBC micro:bit. We
|
||||
|
||||
## Documentation
|
||||
|
||||
* **on button pressed**: [read more...](/microbit/reference/input/on-button-pressed)
|
||||
* **local variable **: [read more...](/microbit/reference/variables/var)
|
||||
* **assignment operator**: [read more...](/microbit/reference/variables/assign)
|
||||
* **show number**: [read more...](/microbit/reference/basic/show-number)
|
||||
* **random numbers**: [read more...](/microbit/js/math)
|
||||
* **clear screen**: [read more...](/microbit/reference/basic/clear-screen)
|
||||
* **on button pressed**: [read more...](/reference/input/on-button-pressed)
|
||||
* **local variable **: [read more...](/reference/variables/var)
|
||||
* **assignment operator**: [read more...](/reference/variables/assign)
|
||||
* **show number**: [read more...](/reference/basic/show-number)
|
||||
* **random numbers**: [read more...](/js/math)
|
||||
* **clear screen**: [read more...](/reference/basic/clear-screen)
|
||||
|
||||
## Objectives
|
||||
|
||||
@@ -69,16 +69,16 @@ Computational Thinking Concept: AB = Abstraction; DE = Decomposition; AL = Algor
|
||||
## Activity
|
||||
|
||||
* time: 20 min.
|
||||
* [activity](/microbit/lessons/guess-the-number/activity)
|
||||
* [tutorial](/microbit/lessons/guess-the-number/tutorial)
|
||||
* [quiz](/microbit/lessons/guess-the-number/quiz)
|
||||
* [activity](/lessons/guess-the-number/activity)
|
||||
* [tutorial](/lessons/guess-the-number/tutorial)
|
||||
* [quiz](/lessons/guess-the-number/quiz)
|
||||
|
||||
## Extended Activity
|
||||
|
||||
* time: 20 min.
|
||||
* [challenges](/microbit/lessons/guess-the-number/challenges)
|
||||
* [challenges](/lessons/guess-the-number/challenges)
|
||||
|
||||
## Homework
|
||||
|
||||
* Extended Activity: [challenges](/microbit/lessons/guess-the-number/challenges)
|
||||
* Extended Activity: [challenges](/lessons/guess-the-number/challenges)
|
||||
|
||||
@@ -10,7 +10,7 @@ Welcome! This tutorial will help you create a guess the number game! Let's get s
|
||||
|
||||
### ~
|
||||
|
||||
To create a new script, go to the [Create Code](/microbit/create-code) page and tap New Project under **Touch Develop**.
|
||||
To create a new script, go to the [Create Code](/create-code) page and tap New Project under **Touch Develop**.
|
||||
|
||||
Add an event handler when button `A` is pressed.
|
||||
|
||||
@@ -38,7 +38,7 @@ input.onButtonPressed(Button.A, () => {
|
||||
|
||||
### ~avatar avatar
|
||||
|
||||
Excellent, you're ready to continue with the [challenges](/microbit/lessons/guess-the-number/challenges)!
|
||||
Excellent, you're ready to continue with the [challenges](/lessons/guess-the-number/challenges)!
|
||||
|
||||
### ~
|
||||
|
||||
@@ -6,7 +6,7 @@ Coding challenges for the guess the number tutorial. #docs
|
||||
|
||||
Complete the following guided tutorial:
|
||||
|
||||
* [tutorial](/microbit/lessons/guess-the-number/tutorial)
|
||||
* [tutorial](/lessons/guess-the-number/tutorial)
|
||||
|
||||
At the end of the tutorial, click `keep editing`. Your code should look like this:
|
||||
|
||||
|
||||
@@ -30,15 +30,15 @@ Learn how to create numbers randomly by using the input of the BBC micro:bit. We
|
||||
|
||||
## Documentation
|
||||
|
||||
* **local variables**: [read more...](/microbit/reference/variables/var)
|
||||
* **math**: [read more...](/microbit/js/math)
|
||||
* **on button pressed**: [read more...](/microbit/reference/input/on-button-pressed)
|
||||
* **local variables**: [read more...](/reference/variables/var)
|
||||
* **math**: [read more...](/js/math)
|
||||
* **on button pressed**: [read more...](/reference/input/on-button-pressed)
|
||||
|
||||
## Resources
|
||||
|
||||
* Activity: [tutorial](/microbit/lessons/guess-the-number/tutorial)
|
||||
* Activity: [quiz](/microbit/lessons/guess-the-number/quiz)
|
||||
* Extended Activity: [challenges](/microbit/lessons/guess-the-number/challenges)
|
||||
* Activity: [tutorial](/lessons/guess-the-number/tutorial)
|
||||
* Activity: [quiz](/lessons/guess-the-number/quiz)
|
||||
* Extended Activity: [challenges](/lessons/guess-the-number/challenges)
|
||||
|
||||
## Objectives
|
||||
|
||||
@@ -79,19 +79,19 @@ Computational Thinking Concept: AB = Abstraction; DE = Decomposition; AL = Algor
|
||||
## Activity
|
||||
|
||||
* time: 20 min.
|
||||
* [tutorial](/microbit/lessons/guess-the-number/tutorial)
|
||||
* [quiz](/microbit/lessons/guess-the-number/quiz)
|
||||
* [tutorial](/lessons/guess-the-number/tutorial)
|
||||
* [quiz](/lessons/guess-the-number/quiz)
|
||||
* assessment opportunities: forever, plot, pause, clear screen
|
||||
|
||||
## Extended Activity
|
||||
|
||||
* time: 20 min.
|
||||
* [challenges](/microbit/lessons/guess-the-number/challenges)
|
||||
* [challenges](/lessons/guess-the-number/challenges)
|
||||
* assessment opportunities: loops, plot, pause, clear screen
|
||||
|
||||
## Homework
|
||||
|
||||
* Extended Activity: [challenges](/microbit/lessons/guess-the-number/challenges)
|
||||
* Extended Activity: [challenges](/lessons/guess-the-number/challenges)
|
||||
|
||||
## Intended follow on
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@ Hack your headphone
|
||||
|
||||
## Quick Links
|
||||
|
||||
* [activity](/microbit/lessons/hack-your-headphones/activity)
|
||||
* [activity](/lessons/hack-your-headphones/activity)
|
||||
|
||||
## Class
|
||||
|
||||
|
||||
@@ -52,5 +52,5 @@ You hacked your headphones!
|
||||
|
||||
### Step 6
|
||||
|
||||
Connect your BBC micro:bit to your computer using your USB cable and run the [happy birthday](/microbit/dnnzgd) script on it. Press the reset button to restart your music player!
|
||||
Connect your BBC micro:bit to your computer using your USB cable and run the [happy birthday](/dnnzgd) script on it. Press the reset button to restart your music player!
|
||||
|
||||
@@ -10,10 +10,10 @@ Break
|
||||
|
||||
## Quick Links
|
||||
|
||||
* [tutorial](/microbit/lessons/jailbreak/tutorial)
|
||||
* [quiz](/microbit/lessons/jailbreak/quiz)
|
||||
* [quiz answers](/microbit/lessons/jailbreak/quiz-answers)
|
||||
* [challenges](/microbit/lessons/jailbreak/challenges)
|
||||
* [tutorial](/lessons/jailbreak/tutorial)
|
||||
* [quiz](/lessons/jailbreak/quiz)
|
||||
* [quiz answers](/lessons/jailbreak/quiz-answers)
|
||||
* [challenges](/lessons/jailbreak/challenges)
|
||||
|
||||
## Class
|
||||
|
||||
@@ -25,16 +25,16 @@ Learn how to create a **break**, `break` to exit a while or for loop before the
|
||||
|
||||
## Documentation
|
||||
|
||||
* **Global Variable** : [read more...](/microbit/js/data)
|
||||
* **Boolean** : [read more...](/microbit/reference/types/boolean)
|
||||
* **On Button Pressed** : [read more...](/microbit/reference/input/on-button-pressed)
|
||||
* **While Loop** : [read more...](/microbit/js/while)
|
||||
* **Break** : [read more...](/microbit/js/break)
|
||||
* **If (Conditional)** : [read more...](/microbit/reference/logic/if)
|
||||
* **Show String** : [read more...](/microbit/reference/basic/show-string)
|
||||
* **Plot Image ** : [read more...](/microbit/reference/led/plot-image)
|
||||
* **Show Number** : [read more...](/microbit/reference/basic/show-number)
|
||||
* **Pause** : [read more...](/microbit/reference/basic/pause)
|
||||
* **Global Variable** : [read more...](/js/data)
|
||||
* **Boolean** : [read more...](/reference/types/boolean)
|
||||
* **On Button Pressed** : [read more...](/reference/input/on-button-pressed)
|
||||
* **While Loop** : [read more...](/js/while)
|
||||
* **Break** : [read more...](/js/break)
|
||||
* **If (Conditional)** : [read more...](/reference/logic/if)
|
||||
* **Show String** : [read more...](/reference/basic/show-string)
|
||||
* **Plot Image ** : [read more...](/reference/led/plot-image)
|
||||
* **Show Number** : [read more...](/reference/basic/show-number)
|
||||
* **Pause** : [read more...](/reference/basic/pause)
|
||||
|
||||
## Objectives
|
||||
|
||||
@@ -94,15 +94,15 @@ Computational Thinking Concept: AB = Abstraction; DE = Decomposition; AL = Algor
|
||||
## Activity
|
||||
|
||||
* time: 20 min.
|
||||
* [tutorial](/microbit/lessons/jailbreak/tutorial)
|
||||
* [quiz](/microbit/lessons/jailbreak/quiz)
|
||||
* [tutorial](/lessons/jailbreak/tutorial)
|
||||
* [quiz](/lessons/jailbreak/quiz)
|
||||
|
||||
## Extended Activity
|
||||
|
||||
* time: 20 min.
|
||||
* [challenges](/microbit/lessons/jailbreak/challenges)
|
||||
* [challenges](/lessons/jailbreak/challenges)
|
||||
|
||||
## Homework
|
||||
|
||||
* Extended Activity: [challenges](/microbit/lessons/jailbreak/challenges)
|
||||
* Extended Activity: [challenges](/lessons/jailbreak/challenges)
|
||||
|
||||
@@ -6,7 +6,7 @@ Coding challenges for the jailbreak tutorial.#docs
|
||||
|
||||
Complete the following guided tutorial:
|
||||
|
||||
* [tutorial](/microbit/lessons/jailbreak/tutorial)
|
||||
* [tutorial](/lessons/jailbreak/tutorial)
|
||||
|
||||
At the end of the tutorial, click `keep editing`. Your code should look like this:
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
break out of a counting loop by pressing button "A".
|
||||
|
||||
This is the answer key for the [jailbreak quiz](/microbit/lessons/jailbreak/quiz).
|
||||
This is the answer key for the [jailbreak quiz](/lessons/jailbreak/quiz).
|
||||
|
||||
## 1. What does a 'break' statement do to a 'loop' ?
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ break out of a counting loop by pressing button "A".
|
||||
|
||||
## Directions
|
||||
|
||||
Use this activity document to guide your work in the [jailbreak tutorial](/microbit/lessons/jailbreak/tutorial)
|
||||
Use this activity document to guide your work in the [jailbreak tutorial](/lessons/jailbreak/tutorial)
|
||||
|
||||
Answer the questions while completing the tutorial. Pay attention to the dialogues!
|
||||
|
||||
|
||||
@@ -4,5 +4,5 @@ Turn a LED on and off. #docs
|
||||
|
||||
Detect and show an image when the micro:bit falls.
|
||||
|
||||
* [tutorial](/microbit/lessons/landslide/tutorial)
|
||||
* [challenges](/microbit/lessons/landslide/challenges)
|
||||
* [tutorial](/lessons/landslide/tutorial)
|
||||
* [challenges](/lessons/landslide/challenges)
|
||||
@@ -12,7 +12,7 @@ Don't drop me on the ground without protection! I'm very fragile. Ouch!
|
||||
|
||||
Complete the following guided tutorial:
|
||||
|
||||
* [tutorial](/microbit/lessons/landslide/tutorial)
|
||||
* [tutorial](/lessons/landslide/tutorial)
|
||||
|
||||
At the end of the tutorial, click `keep editing`. Your code should look like this:
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@ String Functions
|
||||
|
||||
## Quick Links
|
||||
|
||||
* [tutorial](/microbit/lessons/letter-up/tutorial)
|
||||
* [tutorial](/lessons/letter-up/tutorial)
|
||||
|
||||
## Class
|
||||
|
||||
@@ -38,20 +38,20 @@ Learn how to create a guessing game with **global variables** `var str: "this is
|
||||
|
||||
## Documentation
|
||||
|
||||
* **string** : [read more...](/microbit/reference/types/string)
|
||||
* **string functions** : [read more...](/microbit/reference/types/string-functions)
|
||||
* **show string** : [read more...](/microbit/reference/basic/show-string)
|
||||
* **local variables** : [read more...](/microbit/reference/variables/var)
|
||||
* **assignment operator** : [read more...](/microbit/reference/variables/assign)
|
||||
* **on logo up** [read more...](/microbit/functions/on-logo-up)
|
||||
* **on screen down** [read more...](/microbit/functions/on-screen-down)
|
||||
* **on screen up** [read more...](/microbit/functions/on-screen-up)
|
||||
* **math random** : [read more...](/microbit/js/math)
|
||||
* **game library** [read more...](/microbit/js/game-library)
|
||||
* **string** : [read more...](/reference/types/string)
|
||||
* **string functions** : [read more...](/reference/types/string-functions)
|
||||
* **show string** : [read more...](/reference/basic/show-string)
|
||||
* **local variables** : [read more...](/reference/variables/var)
|
||||
* **assignment operator** : [read more...](/reference/variables/assign)
|
||||
* **on logo up** [read more...](/functions/on-logo-up)
|
||||
* **on screen down** [read more...](/functions/on-screen-down)
|
||||
* **on screen up** [read more...](/functions/on-screen-up)
|
||||
* **math random** : [read more...](/js/math)
|
||||
* **game library** [read more...](/js/game-library)
|
||||
|
||||
## Resources
|
||||
|
||||
* Activity: [tutorial](/microbit/lessons/letter-up/tutorial)
|
||||
* Activity: [tutorial](/lessons/letter-up/tutorial)
|
||||
|
||||
## Objectives
|
||||
|
||||
@@ -108,7 +108,7 @@ Computational Thinking Concept: AB = Abstraction; DE = Decomposition; AL = Algor
|
||||
## Activity
|
||||
|
||||
* time: 20 min.
|
||||
* [tutorial](/microbit/lessons/letter-up/tutorial)
|
||||
* [tutorial](/lessons/letter-up/tutorial)
|
||||
|
||||
## Intended follow on
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ Learn how to create a blinking LED script with a for loop.
|
||||
|
||||
## Directions
|
||||
|
||||
Use this activity document to guide your work in the [light column cascade tutorial](/microbit/js/light-column-cascade/tutorial).
|
||||
Use this activity document to guide your work in the [light column cascade tutorial](/js/light-column-cascade/tutorial).
|
||||
|
||||
Answer the questions below while working on or after you finish the tutorial. Pay attention to the dialogs!
|
||||
|
||||
|
||||
@@ -10,9 +10,9 @@ Functions
|
||||
|
||||
## Quick Links
|
||||
|
||||
* [tutorial](/microbit/lessons/line-of-fire/tutorial)
|
||||
* [quiz](/microbit/lessons/line-of-fire/quiz)
|
||||
* [quiz answers](/microbit/lessons/line-of-fire/quiz-answers)
|
||||
* [tutorial](/lessons/line-of-fire/tutorial)
|
||||
* [quiz](/lessons/line-of-fire/quiz)
|
||||
* [quiz answers](/lessons/line-of-fire/quiz-answers)
|
||||
|
||||
## Class
|
||||
|
||||
@@ -24,20 +24,20 @@ Learn how to create **functions**, `function()` that perform a specific task and
|
||||
|
||||
## Documentation
|
||||
|
||||
* **function** : [read more...](/microbit/js/function)
|
||||
* **return** : [read more...](/microbit/js/return)
|
||||
* **call** : [read more...](/microbit/js/call)
|
||||
* **global variable** : [read more...](/microbit/js/data)
|
||||
* **arithmetic operator** : [read more...](/microbit/reference/types/number)
|
||||
* **Boolean** : [read more...](/microbit/reference/types/boolean)
|
||||
* **forever** : [read more...](/microbit/reference/basic/forever)
|
||||
* **on button pressed** : [read more...](/microbit/reference/input/on-button-pressed)
|
||||
* **if** : [read more...](/microbit/reference/logic/if)
|
||||
* **clear screen** : [read more...](/microbit/reference/basic/clear-screen)
|
||||
* **show string** : [read more...](/microbit/reference/basic/show-string)
|
||||
* **plot** : [read more...](/microbit/reference/led/plot)
|
||||
* **unplot** : [read more...](/microbit/reference/led/unplot)
|
||||
* **pause** : [read more...](/microbit/reference/basic/pause)
|
||||
* **function** : [read more...](/js/function)
|
||||
* **return** : [read more...](/js/return)
|
||||
* **call** : [read more...](/js/call)
|
||||
* **global variable** : [read more...](/js/data)
|
||||
* **arithmetic operator** : [read more...](/reference/types/number)
|
||||
* **Boolean** : [read more...](/reference/types/boolean)
|
||||
* **forever** : [read more...](/reference/basic/forever)
|
||||
* **on button pressed** : [read more...](/reference/input/on-button-pressed)
|
||||
* **if** : [read more...](/reference/logic/if)
|
||||
* **clear screen** : [read more...](/reference/basic/clear-screen)
|
||||
* **show string** : [read more...](/reference/basic/show-string)
|
||||
* **plot** : [read more...](/reference/led/plot)
|
||||
* **unplot** : [read more...](/reference/led/unplot)
|
||||
* **pause** : [read more...](/reference/basic/pause)
|
||||
|
||||
## Objectives
|
||||
|
||||
@@ -83,14 +83,14 @@ Computational Thinking Concept: AB = Abstraction; DE = Decomposition; AL = Algor
|
||||
## Activity
|
||||
|
||||
* time: 20 min.
|
||||
* [tutorial](/microbit/lessons/line-of-fire/tutorial)
|
||||
* [tutorial](/lessons/line-of-fire/tutorial)
|
||||
|
||||
## Extended Activity
|
||||
|
||||
* time: 20 min.
|
||||
* [quiz](/microbit/lessons/line-of-fire/quiz)
|
||||
* [quiz](/lessons/line-of-fire/quiz)
|
||||
|
||||
## Homework
|
||||
|
||||
* Extended Activity: [quiz](/microbit/lessons/line-of-fire/quiz)
|
||||
* Extended Activity: [quiz](/lessons/line-of-fire/quiz)
|
||||
|
||||
@@ -6,7 +6,7 @@ create a game that relies on precise instincts and timing reflexes.
|
||||
|
||||
## Directions
|
||||
|
||||
Use this activity document to guide your work in the [line of fire tutorial](/microbit/lessons/line-of-fire/tutorial)
|
||||
Use this activity document to guide your work in the [line of fire tutorial](/lessons/line-of-fire/tutorial)
|
||||
|
||||
Answer the questions while completing the tutorial. Pay attention to the dialogues!
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ create a game that relies on precise instincts and timing reflexes.
|
||||
|
||||
## Directions
|
||||
|
||||
Use this activity document to guide your work in the [line of fire tutorial](/microbit/lessons/line-of-fire/tutorial)
|
||||
Use this activity document to guide your work in the [line of fire tutorial](/lessons/line-of-fire/tutorial)
|
||||
|
||||
Answer the questions while completing the tutorial. Pay attention to the dialogues!
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ These challenges will help you show arrows that point which way the logo is poin
|
||||
|
||||
### @video vimeo/134638098
|
||||
|
||||
This [guided tutorial](/microbit/zysycw) will help you display an arrow pointing the direction the logo is oriented!
|
||||
This [guided tutorial](/zysycw) will help you display an arrow pointing the direction the logo is oriented!
|
||||
|
||||
Let's display and upward pointing arrow when the logo is up!
|
||||
|
||||
|
||||
@@ -10,10 +10,10 @@ For Loop
|
||||
|
||||
## Quick links
|
||||
|
||||
* [tutorial](/microbit/lessons/looper/tutorial)
|
||||
* [quiz](/microbit/lessons/looper/quiz)
|
||||
* [quiz answers](/microbit/lessons/looper/quiz-answers)
|
||||
* [challenges](/microbit/lessons/looper/challenges)
|
||||
* [tutorial](/lessons/looper/tutorial)
|
||||
* [quiz](/lessons/looper/quiz)
|
||||
* [quiz answers](/lessons/looper/quiz-answers)
|
||||
* [challenges](/lessons/looper/challenges)
|
||||
|
||||
## Class
|
||||
|
||||
@@ -25,10 +25,10 @@ Learn how to control a blinking LED. We will be learning how to create a blinkin
|
||||
|
||||
## Documentation
|
||||
|
||||
* **for**: [read more...](/microbit/reference/loops/for)
|
||||
* **show number**: [read more...](/microbit/reference/basic/show-number)
|
||||
* **pause**: [read more...](/microbit/reference/basic/pause)
|
||||
* **arithmetic operators**: [read more...](/microbit/reference/types/number)
|
||||
* **for**: [read more...](/reference/loops/for)
|
||||
* **show number**: [read more...](/reference/basic/show-number)
|
||||
* **pause**: [read more...](/reference/basic/pause)
|
||||
* **arithmetic operators**: [read more...](/reference/types/number)
|
||||
|
||||
## Objectives
|
||||
|
||||
@@ -66,15 +66,15 @@ Computational Thinking Concept: AB = Abstraction; DE = Decomposition; AL = Algor
|
||||
## Activity
|
||||
|
||||
* time: 10 min.
|
||||
* [tutorial](/microbit/lessons/looper/tutorial)
|
||||
* [quiz](/microbit/lessons/looper/quiz)
|
||||
* [tutorial](/lessons/looper/tutorial)
|
||||
* [quiz](/lessons/looper/quiz)
|
||||
|
||||
## Extended Activity
|
||||
|
||||
* time: 20 min.
|
||||
* [challenges](/microbit/lessons/looper/challenges)
|
||||
* [challenges](/lessons/looper/challenges)
|
||||
|
||||
## Homework
|
||||
|
||||
* Extended Activity: [challenges](/microbit/lessons/looper/challenges)
|
||||
* Extended Activity: [challenges](/lessons/looper/challenges)
|
||||
|
||||
@@ -6,7 +6,7 @@ Coding challenges for the looper tutorial. #docs
|
||||
|
||||
Complete the following guided tutorial:
|
||||
|
||||
* [tutorial](/microbit/lessons/looper/tutorial)
|
||||
* [tutorial](/lessons/looper/tutorial)
|
||||
|
||||
At the end of the tutorial, click `keep editing`. Your code should look like this:
|
||||
|
||||
|
||||
@@ -10,10 +10,10 @@ For loop - Blinking LED
|
||||
|
||||
## Quick links
|
||||
|
||||
* [tutorial](/microbit/lessons/looper/tutorial)
|
||||
* [quiz](/microbit/lessons/looper/quiz)
|
||||
* [quiz answers](/microbit/lessons/looper/quiz-answers)
|
||||
* [challenges](/microbit/lessons/looper/challenges)
|
||||
* [tutorial](/lessons/looper/tutorial)
|
||||
* [quiz](/lessons/looper/quiz)
|
||||
* [quiz answers](/lessons/looper/quiz-answers)
|
||||
* [challenges](/lessons/looper/challenges)
|
||||
|
||||
## Class
|
||||
|
||||
@@ -37,15 +37,15 @@ Learn how to control a blinking LED. We will be learning how to create a blinkin
|
||||
|
||||
## Documentation
|
||||
|
||||
* **plot**: [read more...](/microbit/reference/led/plot)
|
||||
* **pause**: [read more...](/microbit/reference/basic/pause)
|
||||
* **for**: [read more...](/microbit/reference/loops/for)
|
||||
* **plot**: [read more...](/reference/led/plot)
|
||||
* **pause**: [read more...](/reference/basic/pause)
|
||||
* **for**: [read more...](/reference/loops/for)
|
||||
|
||||
## Resources
|
||||
|
||||
* Activity: [tutorial](/microbit/lessons/looper/tutorial)
|
||||
* Activity: [quiz](/microbit/lessons/looper/quiz)
|
||||
* Extended Activity: [challenges](/microbit/lessons/looper/challenges)
|
||||
* Activity: [tutorial](/lessons/looper/tutorial)
|
||||
* Activity: [quiz](/lessons/looper/quiz)
|
||||
* Extended Activity: [challenges](/lessons/looper/challenges)
|
||||
|
||||
## Objectives
|
||||
|
||||
@@ -85,19 +85,19 @@ Computational Thinking Concept: AB = Abstraction; DE = Decomposition; AL = Algor
|
||||
## Activity
|
||||
|
||||
* time: 10 min.
|
||||
* [tutorial](/microbit/lessons/looper/tutorial)
|
||||
* [quiz](/microbit/lessons/looper/quiz)
|
||||
* [tutorial](/lessons/looper/tutorial)
|
||||
* [quiz](/lessons/looper/quiz)
|
||||
* assessment opportunities: loops, plot, pause, clear screen
|
||||
|
||||
## Extended Activity
|
||||
|
||||
* time: 20 min.
|
||||
* [challenges](/microbit/lessons/looper/challenges)
|
||||
* [challenges](/lessons/looper/challenges)
|
||||
* assessment opportunities: loops, plot, pause, clear screen
|
||||
|
||||
## Homework
|
||||
|
||||
* Extended Activity: [challenges](/microbit/lessons/looper/challenges)
|
||||
* Extended Activity: [challenges](/lessons/looper/challenges)
|
||||
|
||||
## Intended follow on
|
||||
|
||||
|
||||
@@ -10,11 +10,11 @@ On Pin Pressed
|
||||
|
||||
## Quick Links
|
||||
|
||||
* [activity](/microbit/lessons/love-meter/activity)
|
||||
* [challenges](/microbit/lessons/love-meter/challenges)
|
||||
* [quiz](/microbit/lessons/love-meter/quiz)
|
||||
* [quiz answers](/microbit/lessons/love-meter/quiz-answers)
|
||||
* [tutorial](/microbit/lessons/love-meter/tutorial)
|
||||
* [activity](/lessons/love-meter/activity)
|
||||
* [challenges](/lessons/love-meter/challenges)
|
||||
* [quiz](/lessons/love-meter/quiz)
|
||||
* [quiz answers](/lessons/love-meter/quiz-answers)
|
||||
* [tutorial](/lessons/love-meter/tutorial)
|
||||
|
||||
## Class
|
||||
|
||||
@@ -26,14 +26,14 @@ Learn how to use the pins **pin pressed**, `input->on pin pressed` to run code w
|
||||
|
||||
## Documentation
|
||||
|
||||
* **on pin pressed** : [read more...](/microbit/reference/input/on-pin-pressed)
|
||||
* **local variable** : [read more...](/microbit/reference/variables/var)
|
||||
* **Boolean** : [read more...](/microbit/reference/types/boolean)
|
||||
* **math random** : [read more...](/microbit/js/math)
|
||||
* **show number** : [read more...](/microbit/reference/basic/show-number)
|
||||
* **pause** : [read more...](/microbit/reference/basic/pause)
|
||||
* **If** : [read more...](/microbit/reference/logic/if)
|
||||
* **show string** : [read more...](/microbit/reference/basic/show-string)
|
||||
* **on pin pressed** : [read more...](/reference/input/on-pin-pressed)
|
||||
* **local variable** : [read more...](/reference/variables/var)
|
||||
* **Boolean** : [read more...](/reference/types/boolean)
|
||||
* **math random** : [read more...](/js/math)
|
||||
* **show number** : [read more...](/reference/basic/show-number)
|
||||
* **pause** : [read more...](/reference/basic/pause)
|
||||
* **If** : [read more...](/reference/logic/if)
|
||||
* **show string** : [read more...](/reference/basic/show-string)
|
||||
|
||||
## Objectives
|
||||
|
||||
@@ -89,16 +89,16 @@ Computational Thinking Concept: AB = Abstraction; DE = Decomposition; AL = Algor
|
||||
## Activity
|
||||
|
||||
* time: 20 min.
|
||||
* [activity](/microbit/lessons/love-meter/activity)
|
||||
* [tutorial](/microbit/lessons/love-meter/tutorial)
|
||||
* [quiz](/microbit/lessons/love-meter/quiz)
|
||||
* [activity](/lessons/love-meter/activity)
|
||||
* [tutorial](/lessons/love-meter/tutorial)
|
||||
* [quiz](/lessons/love-meter/quiz)
|
||||
|
||||
## Extended Activity
|
||||
|
||||
* time: 20 min.
|
||||
* [challenges](/microbit/lessons/love-meter/challenges)
|
||||
* [challenges](/lessons/love-meter/challenges)
|
||||
|
||||
## Homework
|
||||
|
||||
* Extended Activity: [challenges](/microbit/lessons/love-meter/challenges)
|
||||
* Extended Activity: [challenges](/lessons/love-meter/challenges)
|
||||
|
||||
@@ -10,7 +10,7 @@ Welcome! This tutorial will help you create a love meter with the BBC micro:bit.
|
||||
|
||||
### ~
|
||||
|
||||
To create a new script, go to the [Create Code](/microbit/create-code) page and tap *New Project* under **Touch Develop**.
|
||||
To create a new script, go to the [Create Code](/create-code) page and tap *New Project* under **Touch Develop**.
|
||||
|
||||
Begin by registering an event with `input->on pin pressed(PO)` to know when someone is holding pin ``P0`` and pin ``Gnd``.
|
||||
|
||||
@@ -38,7 +38,7 @@ input.onPinPressed(TouchPin.P0, () => {
|
||||
|
||||
### ~avatar avatar
|
||||
|
||||
Excellent, you're ready to continue with the [challenges](/microbit/lessons/love-meter/challenges)!
|
||||
Excellent, you're ready to continue with the [challenges](/lessons/love-meter/challenges)!
|
||||
|
||||
### ~
|
||||
|
||||
@@ -6,7 +6,7 @@ create a love meter with the BBC micro:bit #docs
|
||||
|
||||
Complete the following guided tutorial:
|
||||
|
||||
* [tutorial](/microbit/lessons/love-meter/tutorial)
|
||||
* [tutorial](/lessons/love-meter/tutorial)
|
||||
|
||||
At the end of the tutorial, click `keep editing`. Your code should look like this:
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
The answers to the love meter quiz.
|
||||
|
||||
This is the answer key for the [love meter quiz](/microbit/lessons/love-meter/quiz).
|
||||
This is the answer key for the [love meter quiz](/lessons/love-meter/quiz).
|
||||
|
||||
## 1. What does on pin pressed ("P0") do?
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ Learn how to make a love meter that you can try with someone.
|
||||
|
||||
## Directions
|
||||
|
||||
Use this activity document to guide your work in the [love meter tutorial](/microbit/lessons/love-meter/tutorial).
|
||||
Use this activity document to guide your work in the [love meter tutorial](/lessons/love-meter/tutorial).
|
||||
|
||||
Answer the questions below while completing the tutorial. Pay attention to the dialogues!
|
||||
|
||||
|
||||
@@ -10,11 +10,11 @@ Show Number
|
||||
|
||||
## Quick Links
|
||||
|
||||
* [activity](/microbit/lessons/lucky-7/activity)
|
||||
* [quiz](/microbit/lessons/lucky-7/quiz)
|
||||
* [quiz answers](/microbit/lessons/lucky-7/quiz-answers)
|
||||
* [challenges](/microbit/lessons/lucky-7/challenges)
|
||||
* [tutorial](/microbit/lessons/lucky-7/tutorial)
|
||||
* [activity](/lessons/lucky-7/activity)
|
||||
* [quiz](/lessons/lucky-7/quiz)
|
||||
* [quiz answers](/lessons/lucky-7/quiz-answers)
|
||||
* [challenges](/lessons/lucky-7/challenges)
|
||||
* [tutorial](/lessons/lucky-7/tutorial)
|
||||
|
||||
## Class
|
||||
|
||||
@@ -26,8 +26,8 @@ Learn how to display a number, `basic-> show number` to generate numbers. We wil
|
||||
|
||||
## Documentation
|
||||
|
||||
* **show number** : [read more...](/microbit/reference/basic/show-number)
|
||||
* **pause** : [read more...](/microbit/reference/basic/pause)
|
||||
* **show number** : [read more...](/reference/basic/show-number)
|
||||
* **pause** : [read more...](/reference/basic/pause)
|
||||
|
||||
## Objectives
|
||||
|
||||
@@ -69,16 +69,16 @@ Computational Thinking Concept: AB = Abstraction; DE = Decomposition; AL = Algor
|
||||
## Activity
|
||||
|
||||
* time: 20 min.
|
||||
* [activity](/microbit/lessons/lucky-7/activity)
|
||||
* [tutorial](/microbit/lessons/lucky-7/tutorial)
|
||||
* [quiz](/microbit/lessons/lucky-7/quiz)
|
||||
* [activity](/lessons/lucky-7/activity)
|
||||
* [tutorial](/lessons/lucky-7/tutorial)
|
||||
* [quiz](/lessons/lucky-7/quiz)
|
||||
|
||||
## Extended Activity
|
||||
|
||||
* time: 20 min.
|
||||
* [challenges](/microbit/lessons/lucky-7/challenges)
|
||||
* [challenges](/lessons/lucky-7/challenges)
|
||||
|
||||
## Homework
|
||||
|
||||
* Extended Activity: [challenges](/microbit/lessons/lucky-7/challenges)
|
||||
* Extended Activity: [challenges](/lessons/lucky-7/challenges)
|
||||
|
||||
@@ -20,7 +20,7 @@ basic.showNumber(7, 150) // ***
|
||||
|
||||
### ~avatar boothing
|
||||
|
||||
Excellent, you're ready to continue with the [challenges](/microbit/lessons/lucky-7/challenges)!
|
||||
Excellent, you're ready to continue with the [challenges](/lessons/lucky-7/challenges)!
|
||||
|
||||
### ~
|
||||
|
||||
@@ -4,7 +4,7 @@ Coding challenges for the lucky 7 tutorial. #docs
|
||||
|
||||
## Before we get started
|
||||
|
||||
Complete the [lucky 7](/microbit/lessons/lucky-7/activity) activity and your code will look like this:
|
||||
Complete the [lucky 7](/lessons/lucky-7/activity) activity and your code will look like this:
|
||||
|
||||
```
|
||||
basic.showNumber(7, 150)
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
Show a number on the BBC micro:bit.
|
||||
|
||||
This is the answer key for the [lucky 7 quiz](/microbit/lessons/lucky-7/quiz).
|
||||
This is the answer key for the [lucky 7 quiz](/lessons/lucky-7/quiz).
|
||||
|
||||
## 1. Describe what `basic->show number` does?
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ Show a number on the BBC micro:bit.
|
||||
|
||||
## Directions
|
||||
|
||||
Use this activity document to guide your work in the [lucky 7 tutorial](/microbit/lessons/lucky-7/tutorial).
|
||||
Use this activity document to guide your work in the [lucky 7 tutorial](/lessons/lucky-7/tutorial).
|
||||
|
||||
Answer the questions while completing the tutorial. Pay attention to the dialogues!
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ Coding challenges for the magic 8 tutorial #docs
|
||||
|
||||
Complete the following guided tutorial:
|
||||
|
||||
* [tutorial](/microbit/lessons/magic-8-ball/tutorial)
|
||||
* [tutorial](/lessons/magic-8-ball/tutorial)
|
||||
|
||||
At the end of the tutorial, click `keep editing`. Your code should look like this:
|
||||
|
||||
|
||||
@@ -10,11 +10,11 @@ If (Conditionals)
|
||||
|
||||
## Quick Links
|
||||
|
||||
* [activity](/microbit/lessons/magic-8/activity)
|
||||
* [quiz](/microbit/lessons/magic-8/quiz)
|
||||
* [quiz answers](/microbit/lessons/magic-8/quiz-answers)
|
||||
* [challenges](/microbit/lessons/magic-8/challenges)
|
||||
* [tutorial](/microbit/lessons/magic-8/tutorial)
|
||||
* [activity](/lessons/magic-8/activity)
|
||||
* [quiz](/lessons/magic-8/quiz)
|
||||
* [quiz answers](/lessons/magic-8/quiz-answers)
|
||||
* [challenges](/lessons/magic-8/challenges)
|
||||
* [tutorial](/lessons/magic-8/tutorial)
|
||||
|
||||
## Class
|
||||
|
||||
@@ -26,13 +26,13 @@ Learn how to creating **conditionals**, `if condition do` to conditionally run c
|
||||
|
||||
## Documentation
|
||||
|
||||
* **show string** : [read more...](/microbit/reference/basic/show-string)
|
||||
* **show number** : [read more...](/microbit/reference/basic/show-number)
|
||||
* **on shake** : [read more...](/microbit/reference/input/on-gesture)
|
||||
* **clear screen** : [read more...](/microbit/reference/basic/clear-screen)
|
||||
* **local variable** : [read more...](/microbit/reference/variables/var)
|
||||
* **random number** : [read more...](/microbit/js/math)
|
||||
* **if** : [read more...](/microbit/reference/logic/if)
|
||||
* **show string** : [read more...](/reference/basic/show-string)
|
||||
* **show number** : [read more...](/reference/basic/show-number)
|
||||
* **on shake** : [read more...](/reference/input/on-gesture)
|
||||
* **clear screen** : [read more...](/reference/basic/clear-screen)
|
||||
* **local variable** : [read more...](/reference/variables/var)
|
||||
* **random number** : [read more...](/js/math)
|
||||
* **if** : [read more...](/reference/logic/if)
|
||||
|
||||
## Objectives
|
||||
|
||||
@@ -87,16 +87,16 @@ Computational Thinking Concept: AB = Abstraction; DE = Decomposition; AL = Algor
|
||||
## Activity
|
||||
|
||||
* time: 20 min.
|
||||
* [activity](/microbit/lessons/magic-8/activity)
|
||||
* [tutorial](/microbit/lessons/magic-8/tutorial)
|
||||
* [quiz](/microbit/lessons/magic-8/quiz)
|
||||
* [activity](/lessons/magic-8/activity)
|
||||
* [tutorial](/lessons/magic-8/tutorial)
|
||||
* [quiz](/lessons/magic-8/quiz)
|
||||
|
||||
## Extended Activity
|
||||
|
||||
* time: 20 min.
|
||||
* [challenges](/microbit/lessons/magic-8/challenges)
|
||||
* [challenges](/lessons/magic-8/challenges)
|
||||
|
||||
## Homework
|
||||
|
||||
* Extended Activity: [challenges](/microbit/lessons/magic-8/challenges)
|
||||
* Extended Activity: [challenges](/lessons/magic-8/challenges)
|
||||
|
||||
@@ -8,7 +8,7 @@ Welcome! This tutorial will help you create a magic 8 ball on the BBC micro:bit.
|
||||
|
||||
### ~
|
||||
|
||||
To create a new script, go to the [Create Code](/microbit/create-code) page and tap *New Project* under **Touch Develop**.
|
||||
To create a new script, go to the [Create Code](/create-code) page and tap *New Project* under **Touch Develop**.
|
||||
|
||||
Show a string to instruct the user how to play Magic 8! The magic 8 ball can only answer true or false questions.
|
||||
|
||||
@@ -108,7 +108,7 @@ input.onGesture(Gesture.Shake, () => {
|
||||
|
||||
### ~avatar avatar
|
||||
|
||||
Excellent, you're ready to continue with the [challenges](/microbit/lessons/magic-8/challenges)!
|
||||
Excellent, you're ready to continue with the [challenges](/lessons/magic-8/challenges)!
|
||||
|
||||
### ~
|
||||
|
||||
@@ -6,7 +6,7 @@ Coding challenges for the magic 8 tutorial #docs
|
||||
|
||||
Complete the following guided tutorial:
|
||||
|
||||
* [tutorial](/microbit/lessons/magic-8-ball/tutorial)
|
||||
* [tutorial](/lessons/magic-8-ball/tutorial)
|
||||
|
||||
At the end of the tutorial, click `keep editing`. Your code should look like this:
|
||||
|
||||
|
||||
@@ -10,11 +10,11 @@ On Logo Up
|
||||
|
||||
## Quick Links
|
||||
|
||||
* [activity](/microbit/lessons/magic-logo/activity)
|
||||
* [quiz](/microbit/lessons/magic-logo/quiz)
|
||||
* [quiz answers](/microbit/lessons/magic-logo/quiz-answers)
|
||||
* [challenges](/microbit/lessons/magic-logo/challenges)
|
||||
* [tutorial](/microbit/lessons/magic-logo/tutorial)
|
||||
* [activity](/lessons/magic-logo/activity)
|
||||
* [quiz](/lessons/magic-logo/quiz)
|
||||
* [quiz answers](/lessons/magic-logo/quiz-answers)
|
||||
* [challenges](/lessons/magic-logo/challenges)
|
||||
* [tutorial](/lessons/magic-logo/tutorial)
|
||||
|
||||
## Class
|
||||
|
||||
@@ -26,9 +26,9 @@ Learn how to plot image **on logo up**, `input->on logo up` to run code when the
|
||||
|
||||
## Documentation
|
||||
|
||||
* **on logo up** : [read more...](/microbit/functions/on-logo-up)
|
||||
* **show leds** : [read more...](/microbit/reference/basic/show-leds)
|
||||
* **on logo down** : [read more...](/microbit/functions/on-logo-down)
|
||||
* **on logo up** : [read more...](/functions/on-logo-up)
|
||||
* **show leds** : [read more...](/reference/basic/show-leds)
|
||||
* **on logo down** : [read more...](/functions/on-logo-down)
|
||||
|
||||
## Objectives
|
||||
|
||||
@@ -69,15 +69,15 @@ Computational Thinking Concept: AB = Abstraction; DE = Decomposition; AL = Algor
|
||||
## Activity
|
||||
|
||||
* time: 20 min.
|
||||
* [activity](/microbit/lessons/magic-logo/activity)
|
||||
* [quiz](/microbit/lessons/magic-logo/quiz)
|
||||
* [activity](/lessons/magic-logo/activity)
|
||||
* [quiz](/lessons/magic-logo/quiz)
|
||||
|
||||
## Extended Activity
|
||||
|
||||
* time: 20 min.
|
||||
* [challenges](/microbit/lessons/magic-logo/challenges)
|
||||
* [challenges](/lessons/magic-logo/challenges)
|
||||
|
||||
## Homework
|
||||
|
||||
* Extended Activity: [challenges](/microbit/lessons/magic-logo/challenges)
|
||||
* Extended Activity: [challenges](/lessons/magic-logo/challenges)
|
||||
|
||||
@@ -35,7 +35,7 @@ Run your code and try to turn around the BBC micro:bit to see the **logo up** ev
|
||||
|
||||
### ~avatar boothing
|
||||
|
||||
Excellent, you're ready to continue with the [challenges](/microbit/lessons/magic-logo/challenges)!
|
||||
Excellent, you're ready to continue with the [challenges](/lessons/magic-logo/challenges)!
|
||||
|
||||
### ~
|
||||
|
||||
@@ -4,7 +4,7 @@ Coding challenges for the magic logo tutorial. #docs
|
||||
|
||||
## Before we get started
|
||||
|
||||
Complete the [magic logo](/microbit/lessons/magic-logo/activity) activity and your code will look like this:
|
||||
Complete the [magic logo](/lessons/magic-logo/activity) activity and your code will look like this:
|
||||
|
||||
```
|
||||
input.onLogoUp(() => {
|
||||
|
||||
@@ -8,9 +8,9 @@ Functions
|
||||
|
||||
## Quick Links
|
||||
|
||||
* [tutorial](/microbit/lessons/meteorite/tutorial)
|
||||
* [quiz](/microbit/lessons/meteorite/quiz)
|
||||
* [quiz answers](/microbit/lessons/meteorite/quiz-answers)
|
||||
* [tutorial](/lessons/meteorite/tutorial)
|
||||
* [quiz](/lessons/meteorite/quiz)
|
||||
* [quiz answers](/lessons/meteorite/quiz-answers)
|
||||
|
||||
## Class
|
||||
|
||||
@@ -22,23 +22,23 @@ Learn how to create **functions**, `function()` that perform a specific task and
|
||||
|
||||
## Documentation
|
||||
|
||||
* **function** : [read more...](/microbit/js/function)
|
||||
* **call** : [read more...](/microbit/js/call)
|
||||
* **global variable** : [read more...](/microbit/js/data)
|
||||
* **arithmetic operators** : [read more...](/microbit/reference/types/number)
|
||||
* **math random** : [read more...](/microbit/js/math)
|
||||
* **forever** : [read more...](/microbit/reference/basic/forever)
|
||||
* **for** : [read more...](/microbit/reference/loops/for)
|
||||
* **fade out** : [read more...](/microbit/reference/led/fade-out)
|
||||
* **fade in** : [read more...](/microbit/reference/led/fade-in)
|
||||
* **on button pressed** : [read more...](/microbit/reference/input/on-button-pressed)
|
||||
* **if** : [read more...](/microbit/reference/logic/if)
|
||||
* **show string** : [read more...](/microbit/reference/basic/show-string)
|
||||
* **show number** : [read more...](/microbit/reference/basic/show-number)
|
||||
* **show string** : [read more...](/microbit/reference/basic/show-string)
|
||||
* **plot** : [read more...](/microbit/reference/led/plot)
|
||||
* **plot all** : [read more...](/microbit/reference/led/plot-all)
|
||||
* **pause** : [read more...](/microbit/reference/basic/pause)
|
||||
* **function** : [read more...](/js/function)
|
||||
* **call** : [read more...](/js/call)
|
||||
* **global variable** : [read more...](/js/data)
|
||||
* **arithmetic operators** : [read more...](/reference/types/number)
|
||||
* **math random** : [read more...](/js/math)
|
||||
* **forever** : [read more...](/reference/basic/forever)
|
||||
* **for** : [read more...](/reference/loops/for)
|
||||
* **fade out** : [read more...](/reference/led/fade-out)
|
||||
* **fade in** : [read more...](/reference/led/fade-in)
|
||||
* **on button pressed** : [read more...](/reference/input/on-button-pressed)
|
||||
* **if** : [read more...](/reference/logic/if)
|
||||
* **show string** : [read more...](/reference/basic/show-string)
|
||||
* **show number** : [read more...](/reference/basic/show-number)
|
||||
* **show string** : [read more...](/reference/basic/show-string)
|
||||
* **plot** : [read more...](/reference/led/plot)
|
||||
* **plot all** : [read more...](/reference/led/plot-all)
|
||||
* **pause** : [read more...](/reference/basic/pause)
|
||||
|
||||
## Objectives
|
||||
|
||||
@@ -86,14 +86,14 @@ Computational Thinking Concept: AB = Abstraction; DE = Decomposition; AL = Algor
|
||||
## Activity
|
||||
|
||||
* time: 20 min.
|
||||
* [tutorial](/microbit/lessons/meteorite/tutorial)
|
||||
* [tutorial](/lessons/meteorite/tutorial)
|
||||
|
||||
## Extended Activity
|
||||
|
||||
* time: 20 min.
|
||||
* [quiz](/microbit/lessons/meteorite/quiz)
|
||||
* [quiz](/lessons/meteorite/quiz)
|
||||
|
||||
## Homework
|
||||
|
||||
* Extended Activity: [quiz](/microbit/lessons/meteorite/quiz)
|
||||
* Extended Activity: [quiz](/lessons/meteorite/quiz)
|
||||
|
||||
Loaded 100 of 517 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user