Khan Academy
Challenge: Mouse Tracker
Create a small but useful little program that allows you move a dot with your mouse and see the coordinates change as the mouse moves. Starting with a dot that moves with the mouse, add to this program the text of the points...
Khan Academy
Challenge: Your First Painting App
Ever wonder how those neat painting applications work? Completing this coding activity will give you some insight. First, starting with a simple function that draws a small circle as the mouse moves around the screen, adjust the function...
Beauty and Joy of Computing
Conditional Blocks
If you use the resource, then pupils will understand conditional block instructions. In the first lab of a six-part unit, pupils learn how to use conditional statements (if/then) in block instructions for computer programming. They apply...
Beauty and Joy of Computing
Sprite Drawing and Interaction
Discover how to program objects to move on a screen. In the second lab of a five-part unit, each learner uses block instructions to program a sprite to follow their mouse (cursor). They investigate how to use these same block...