Scratch
Expert
45 mins
Teacher/Student led
+175 XP
What you need:
Chromebook/Laptop/PC or iPad/Tablet

Shopping List

In this lesson we create a shopping list and choose which items to add to it. Then when we're finished what's on the shopping list gets read back out.

Teacher Notes Lesson Files

Live Class Feed

This is a live feed of the latest activity by your students on this lesson. It will update in real-time as they work on the lesson.
Load previous activity

    1 - Create a new Scratch project

    Create a new Scratch project and delete the cat sprite.

    https://scratch.mit.edu

    2 - Create a 'shopping' list

    Create a new list called 'shopping list', this will store the items on our shopping list.

    When you create your first list you will notice that new blocks for lists become available to use in the Data palette.

    At the start, when you click the green flag, we want the shopping list to be empty and also to be hidden (as we're going to get a character to read out what's on the list). Add the following code:

    whenclickedhidelistshoppingdeleteallofshopping

    The delete all of [shopping] block deletes all of the items that are in the shopping list. We do this at the start as there may be some items in the list from the previous game.

    3 - Add a backdrop

    Add the Room 1 backdrop from the backdrop library.


    4 - Add some shopping sprites

    Add some sprites from the sprite library that you would normally find in a shop such as a banana, an orange, a water melon etc.

    Drag each sprite to the sides of the stage area.


    5 - Add a person sprite

    We're going to use a person sprite to call out the items that have been added to the shopping list. Open the sprite library and scroll down and find a person sprite. Select the sprite by clicking on it and then click 'OK' to add it to your project.

    Drag the sprite to the middle of the stage area.


    Unlock the Full Learning Experience

    Get ready to embark on an incredible learning journey! Get access to this lesson and hundreds more in our Digital Skills Curriculum.

    Copyright Notice
    This lesson is copyright of Coding Ireland. Unauthorised use, copying or distribution is not allowed.

    Scratch is developed by the Lifelong Kindergarten Group at the MIT Media Lab. It is available for free at https://scratch.mit.edu
    🍪 Our website uses cookies to make your browsing experience better. By using our website you agree to our use of cookies. Learn more