Missing step in csintro making activity (#1627)

This commit is contained in:
Galen Nickel 2018-11-12 15:30:22 -08:00 committed by Peli de Halleux
parent 66b4e88b6a
commit 45a485e3f5
2 changed files with 20 additions and 3 deletions

View File

@ -14,14 +14,31 @@ Open a browser window to [makecode.com](https://makecode.com), and select the mi
![micro:bit card icon](/static/courses/csintro/making/microbit-card-icon.png)
At the right of **My Projects** on the home screen, click on the **Import** button and then click on **Import File** in the import dialog. Select the file that you saved on your computer in the previous step
Create this program by dragging out blocks from the ``||basic:Basic||`` Toolbox category. Put the ``||basic:show icon||`` and ``||basic:pause||`` blocks in the ``||basic:forever||`` loop. Type in `5000` for the time in each ``||basic:pause||``. Set one icon to a ``Happy`` face and the other to a ``Sad`` face. It shows a repeating series of faces:
```blocks
basic.forever(() => {
   basic.showIcon(IconNames.Happy)
   basic.pause(5000)
   basic.showIcon(IconNames.Sad)
   basic.pause(5000)
})
```
At the bottom of of the editor, name the project as "Happy Sad Face" and click on the disk icon to save the project.
![Save file](/static/courses/csintro/making/happy-sad-file.jpg)
Now, click on **Home** to go back to the home screen.
At the right of **My Projects** on the home screen, click on the **Import** button and then click on **Import File** in the import dialog. Select the file that you just saved to your computer in the previous step.
![Import button](/static/courses/csintro/making/import-button.png)
![Import file](/static/courses/csintro/making/import-file.png)
The program should look like the following in MakeCode.
It shows a repeating series of faces:
The program should again look like the following in MakeCode:
```blocks
basic.forever(() => {

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.9 KiB