You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: en-GB/fortune-teller/index.md
+5-5
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,7 @@ project-type: sample
9
9
10
10
# Introduction { .intro }
11
11
12
-
You are going to code your micro:bit to read the future! Simply ask the micro:bit a quesition, and press a button to find out the answer!
12
+
You are going to code your micro:bit to read the future! Simply ask the micro:bit a question, and press a button to find out the answer!
13
13
14
14
__Instructions__: If you're reading this online, ask the micro:bit below a question and press __A__ to get your answer!
15
15
@@ -25,7 +25,7 @@ Let's start by scrolling some text instructions on your micro:bit.
25
25
26
26
+ Go to <ahref="http://jumpto.cc/pxt-new"target="_blank">jumpto.cc/pxt-new</a> to start a new project in the MakeCode (PXT) editor. Call your new project 'Fortune Teller'.
27
27
28
-
You can delete the `forever` block by dragging it over the palette, you don't need it for this project.
28
+
You can delete the `forever` block by dragging it over the palette, you don't need it for this project.
29
29
30
30
+ Drag a `show string` block inside your `start` start.
31
31
@@ -53,7 +53,7 @@ Let's get your micro:bit to make a decision by randomly choosing a number (`0` f
53
53
54
54

55
55
56
-
+ Drag a `set` block fom Variables into your `on button A pressed` block and select the `answer` variable.
56
+
+ Drag a `set` block from Variables into your `on button A pressed` block and select the `answer` variable.
57
57
58
58

59
59
@@ -97,7 +97,7 @@ Can you add code so that 'Yes' is displayed on your micro:bit __if__ the answer
97
97
98
98
You can even make your micro:bit say something like 'Maybe' or 'Ask again' if the answer is 2. To get this working, you'll also need to change your code to choose a random number between 0 and 2!
99
99
100
-
Tip: You can right-click on an `if` block to dupicate the block and its contents.
100
+
Tip: You can right-click on an `if` block to duplicate the block and its contents.
101
101
102
102

103
103
@@ -106,4 +106,4 @@ Tip: You can right-click on an `if` block to dupicate the block and its contents
106
106
## Challenge: Shake your micro:bit {.challenge}
107
107
Can you code your micro:bit to make a decision when it is shaken instead of when a button is pressed?
0 commit comments