Make a digital clock in Scratch

Free Materials · Explore & create

Make a digital clock in Scratch

Make and create
Remix this project
Practise again

What will you make?

Split hours, minutes and seconds into tens and ones to build a digital display.

Let’s give it a try!

送信中です

×

How to start

  1. Open the project and choose “See inside”.
  2. Find the hour, minute and second variables.
  3. Make code to split each value into tens and ones.

The Scratch project, block labels and worksheets retain Japanese. Edit the starter project before using it as a complete clock or timer.

Open the project on Scratch

Worksheets

For parents and teachers: coding ideas

Compare different ways to calculate tens and ones. For the timer, draw a flowchart before coding. Test the change from 59 seconds to the next minute and from 59 minutes to the next hour. More than one algorithm can produce a correct display.

Use Scratch’s “Remix” feature when signed in, or explore the code with “See inside”. Save your work using the options available in Scratch.

Japanese Scratch blocks shown in the original tutorial

Tell us what you tried!

Use a nickname. Please do not write your real name.

If a name looks like a real name, we may change it to a nickname.

Write kind words. Do not share your school, address or phone number.