Page 126 - ConceptGP_C6_Fb
P. 126

GETTING STARTED WITH BLOCK CODING

                  Block-based  coding  uses drag and drop  approach. It’s a programming  activity  to  develop
                  computational thinking. You can use coding instruction 'blocks' to perform a variety of tasks.
                  To display a message 'Hello World'

                  To perform the task, follow these steps:

                  Step 1:  Visit the link: https://arcade.makecode.com/, Makecode Arcade opens.

                  Step 2:   Click on 'New Project'         . Write the name of your project 'Hello World..!!', and then

                          click on 'Create'.
                          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!








                  124   Premium Edition-VI                                                                                                                                                                                        Techipedia  PB
   121   122   123   124   125   126   127   128   129   130