diff --git a/docs/lessons.md b/docs/lessons.md index cee6fa59..f59dbb51 100644 --- a/docs/lessons.md +++ b/docs/lessons.md @@ -5,9 +5,6 @@ ### ~column -## O365 Integration -* [Science Experiments: Chart](/lessons/charting), create an app for simulating and measuring sensor data of acceleration, temperature, light level, and rotation - ## Beginner * [Beautiful Image](/lessons/beautiful-image), show a beautiful image with show LEDs @@ -60,6 +57,9 @@ * [Telegraph](/lessons/telegraph), play the telegraph game between two BBC micro:bits * [Pogo](/lessons/pogo), create a pogo game to test your jumping abilities +## Science +* [Charting](/lessons/charting), measure and chart acceleration + ## Advanced * [Prank WiFi](/lessons/prank-wifi), create fake WiFi to trick your friends * [Speed Button](/lessons/speed-button), code a speed game with running time @@ -70,5 +70,4 @@ ### @section full -The lessons promote computational thinking and computer science literacy[ read more...](/lessons/teach) - +The lessons promote computational thinking and computer science literacy[ read more...](/lessons/teach) \ No newline at end of file diff --git a/docs/lessons/answering-machine/challenges.md b/docs/lessons/answering-machine/challenges.md index 0c047f8d..5116e590 100644 --- a/docs/lessons/answering-machine/challenges.md +++ b/docs/lessons/answering-machine/challenges.md @@ -21,7 +21,6 @@ basic.showString("ASK ME A QUESTION") input.onButtonPressed(Button.A, () => { basic.showString("Yes") }) - ``` * `Run` the code to see if it works as expected. @@ -45,7 +44,6 @@ input.onButtonPressed(Button.B, () => { * `Run` the code to see if it works as expected. -**Challenge 3** - -When you are asked a yes or no question, do you always say yes or no? Add a condition for `on shake` that displays `MAYBE`. +### Challenge 3 +When you are asked a yes or no question, do you always say yes or no? Add a condition for `on shake` that displays `MAYBE`. \ No newline at end of file diff --git a/docs/lessons/answering-machine/quiz-answers.md b/docs/lessons/answering-machine/quiz-answers.md index f37f04ae..eb89f62f 100644 --- a/docs/lessons/answering-machine/quiz-answers.md +++ b/docs/lessons/answering-machine/quiz-answers.md @@ -12,7 +12,6 @@ Answers may vary. This is a function that will show a string on the LED screen o ```blocks basic.showString("Y") - ``` ![](/static/mb/lessons/answering-machine-0.png) @@ -22,7 +21,6 @@ basic.showString("Y") ```blocks basic.showString("Hi") - ``` ![](/static/mb/lessons/answering-machine-1.png) @@ -35,7 +33,6 @@ basic.showString("Hi") ```blocks basic.showString("Z") - ``` diff --git a/docs/lessons/classic-beatbox/challenges.md b/docs/lessons/classic-beatbox/challenges.md index 97d7d8eb..03d081a2 100644 --- a/docs/lessons/classic-beatbox/challenges.md +++ b/docs/lessons/classic-beatbox/challenges.md @@ -17,7 +17,7 @@ input.onPinPressed(TouchPin.P1, () => { }) ``` -**Challenge 1** +### Challenge 1 Let's include a second sound `on pin pressed` *P2*. To do this, you need to add the same blocks as the banana keyboard activity. However, you must change alter `on pin pressed` from P1 to P2. Additionally, you must *decrease* the frequency of the variable "sound" by 25. Modify your code so that your code looks like this @@ -42,7 +42,7 @@ input.onPinPressed(TouchPin.P2, () => { * click *run* to see if the code works as expected. -**Challenge 2** +### Challenge 2 Finally, we want images to be displayed with sounds `on pin pressed`. Add `show LEDs` blocks under `on pin pressed` P1 and P2. diff --git a/docs/lessons/game-of-chance/challenges.md b/docs/lessons/game-of-chance/challenges.md index d0d39033..891301e1 100644 --- a/docs/lessons/game-of-chance/challenges.md +++ b/docs/lessons/game-of-chance/challenges.md @@ -42,7 +42,7 @@ input.onButtonPressed(Button.B, () => { * `Run` the code to see if it works as expected. -**Challenge 3** +### Challenge 3 When you are asked a yes or no question, do you always say yes or no? Add a condition for `on shake` that displays `TRY AGAIN`. diff --git a/docs/lessons/glowing-pendulum/challenges.md b/docs/lessons/glowing-pendulum/challenges.md index 5784a661..420e36cb 100644 --- a/docs/lessons/glowing-pendulum/challenges.md +++ b/docs/lessons/glowing-pendulum/challenges.md @@ -24,13 +24,13 @@ basic.forever(() => { ``` -**Challenge 1** +### Challenge 1 ![](/static/mb/lessons/glowing-pendulum-0.jpg) Hold the micro:bit in your hand in a dark room. Move the micro:bit like a pendulum and produce a slow image that captures the pattern of the micro:bit LEDs. -**Challenge 2** +### Challenge 2 Replace "y" in `acceleration(y)` with "x" or "z". Changing the axis will cause the micro:bit to measure the force in a different direction. What differences in the resulting pattern does this replacement make? diff --git a/docs/lessons/magic-8/challenges.md b/docs/lessons/magic-8/challenges.md index be4d71a2..859e8efb 100644 --- a/docs/lessons/magic-8/challenges.md +++ b/docs/lessons/magic-8/challenges.md @@ -26,7 +26,7 @@ input.onGesture(Gesture.Shake, () => { ``` -**Challenge 1** +### Challenge 1 Now let's increase the number of responses the magic 8 ball can give. How about 5 responses instead? Let's change the limit of `pick random` to 4. @@ -49,7 +49,7 @@ input.onGesture(Gesture.Shake, () => { }) ``` -**Challenge 2** +### Challenge 2 Now have the magic 8 ball respond "Try again" if **randomNumber** is 3. @@ -73,7 +73,7 @@ input.onGesture(Gesture.Shake, () => { }) ``` -**Challenge 3** +### Challenge 3 Now what about if **randomNumber** is 4? Let's have the magic 8 ball respond "Definitely!". diff --git a/docs/lessons/night-light/challenges.md b/docs/lessons/night-light/challenges.md index 81917863..3187a914 100644 --- a/docs/lessons/night-light/challenges.md +++ b/docs/lessons/night-light/challenges.md @@ -46,7 +46,7 @@ input.onButtonPressed(Button.B, () => { ``` -**Challenge 3** +### Challenge 3 Add an event handler with `on shake` to change the LED brightness back to a `255`. diff --git a/docs/lessons/offset-image/activity.md b/docs/lessons/offset-image/activity.md index f2ce36f7..32a04179 100644 --- a/docs/lessons/offset-image/activity.md +++ b/docs/lessons/offset-image/activity.md @@ -88,7 +88,7 @@ input.onButtonPressed(Button.B, () => { * Run the code to see if it works as expected. -**Challenge 3** +### Challenge 3 Now make sure the image does not go off the left side and if it does, prompt the user to push button `A`. diff --git a/docs/lessons/prank-wifi/activity.md b/docs/lessons/prank-wifi/activity.md index 6a5447ab..001a896d 100644 --- a/docs/lessons/prank-wifi/activity.md +++ b/docs/lessons/prank-wifi/activity.md @@ -42,7 +42,7 @@ basic.forever(() => { ``` -**Challenge 1** +### Challenge 1 What if wanted to show the maximum connectivity of wifi instead of just 1, 3, or 4 bars? @@ -86,7 +86,7 @@ basic.forever(() => { }) ``` -**Challenge 2** +### Challenge 2 Let's add an **IF** at the bottom of your code that checks to see if `sum >= to 1200` **and** if `sum <1400` @@ -135,7 +135,7 @@ basic.forever(() => { }) ``` -**Challenge 3** +### Challenge 3 Now it's your turn! Be creative and change the Wifi meter images to your own wifi image you're sure will prank your friends by editing the lines that call `showLeds()`. diff --git a/docs/lessons/screen-wipe/challenges.md b/docs/lessons/screen-wipe/challenges.md index 7e5252a7..80a4f291 100644 --- a/docs/lessons/screen-wipe/challenges.md +++ b/docs/lessons/screen-wipe/challenges.md @@ -41,7 +41,7 @@ input.onButtonPressed(Button.A, () => { ``` -**Challenge 1** +### Challenge 1 Create an event handler for Button B. @@ -83,7 +83,7 @@ input.onButtonPressed(Button.B, () => { ``` -**Challenge 2** +### Challenge 2 ### @video td/videos/screen-wipe-2 @@ -155,7 +155,7 @@ basic.showLeds(` ``` -**Challenge 3** +### Challenge 3 Show an animation that scrolls back up when you press button "B".