Click to reopen instructions.

This is your project for the whole contact list lab (Unit 3 Lab 2): you keep building on it from page 1 to page 5. The project below starts with four button sprites on the stage—Add, Clear, Find, and Delete—that don't do anything yet except move into position when you click the green flag, plus a few blocks you'll need later in the lab: a small library for working with text (including text [] contains []) and a [] sorted by [] block.

You start by building the contact list from scratch: create a global contact list variable initialized to an empty list, build a contact constructor that takes a name, address, and phone number and reports one whole contact, write the three selector blocks that pull the name, address, or phone back out of a contact, and then program the Add and Clear buttons to ask the user for contact data and to empty the list. On the later pages you add birthdays to each contact, program the Find and Delete buttons, and transform the whole list. (Don't use real people's personal information—make your test data up.)

Your work autosaves (and you can use the Save button); earlier versions are available from the Revisions dropdown.

Contact List

Revisions: