Page 60 - PortGPT_V2.1_C6_Flipbook
P. 60

The following screen appears:






                                                                          Blocks are placed
                                                                           here to execute
                                                                              the steps


                   Step 3:   From the 'Blocks', choose 'Game', and then select  'splash', it will appear on the

                             workspace as shown:


                                                                                  Coding Tip!

                                                                                  Splash block is used
                                                                                  to display a message
                                                                                  on the screen for
                                                                                  some time.

                                                                                       splash ''   ''


                   Step 4:  Drag the 'splash' block, and drop it in the 'on start' block.

                   Step 5:   Type the message 'Hello World..!!' in the 'splash' block, and the output screen
                             will display the message 'Hello World..!!'




                                               Hello World..!!
                                                                           Hello World..!!






                               Well done, you have created your first block code program!








                                                       Coding Task            02


                                           To display the Hello word with your name
                   To perform the task, follow these steps:

                   Step 1:   Open the MakeCode window.








                  58    Premium Edition-VI
   55   56   57   58   59   60   61   62   63   64   65