Skip Navigation

.

Big Race Day Between Ford and Chevy

Ford

Chevy

FINISH

This Javascript demo is adapted from a Java program that I wrote for my ICS-141 final exam. Each time the button is clicked, a random number between 1 and 100 is generated. If the number is even, the Ford truck moves that number of pixels. If the number is odd, the Chevy truck moves that number of pixels.