(upbeat music)

Hey, and welcome to day four of CS First Fashion and Design.

In this activity you'll imagine a fashion innovation and program an Android sprite to describe it to users.

As you build this project, you'll learn about an important computer science concept, conditional statements.

Conditions run code based on whether or not something is true.

An example might be if its sunny, then wear sunglasses.

Or, if my favorite song comes on, then I'm going to dance.

Conditionals are used frequently in computer science.

For example, in this style application for a tablet, if the person using the app selects the gray dress, then the characters dress changes to the gray dress.

If the user of the app selects brown eyes, then the models eyes change to brown.

These conditional statements use if, then conditions to allow the computer program to react in different ways, depending on what the user does.

In this example of a virtual mirror, the computer program reflects different t-shirts based on the users selection.

If the user chooses the gray t-shirt and a new t-shirt logo, then her reflection changes to show her modeling a new t-shirt.

Computer scientists like you use conditionals or if, then rules to instruct computers how to respond to all the possible conditions which can occur in the program.

Take a moment now to make sure you're signed in to the CS First website using the user name and password from your passport.

If you're not signed in, you won't receive a digital badge for completing this activity.

So be sure to sign in.

Now it's your turn.

Click the Innovation Starter Project link next to this video and sign in to Scratch.

Click the remix button, return to this tab and click the green arrow to watch the next video.


Click the "Innovation Starter Project" link.
  • "Style Me Girl - Trailer" by MeGirlGames ( -- Licensed by Creative Commons Attribution 3.0 Unported ( -- Video trimmed to needed length | Audio removed
  • "Virtual Clothing - A 3DLife demonstrator" by #DLifeNoE ( -- Licensed by Creative Commons Attribution 3.0 Unported ( -- Video trimmed to needed length | Audio removed | Text removed and replaced