Please enable JavaScript to use CodeHS

Coding in Science


Unit Description
Coding Gravity: [Middle or High School, 4-6 Hours] Students learn about the Universal Law of Gravity as they develop and use their own gravity simulation to explore its various effects.
Punnett Square Generator: [High School, 2-4 Hours] Students use Turtle Graphics in Python to create their own Punnett Square generator by using if/else statements, string indexing, and string methods to print the genotypes from each allele pair.
Exploring Collisions: [High School, 2-4 Hours] Students use JavaScript graphics to create their own elastic collision simulation using conservation of momentum and kinetic energy equations.
Bouncing Ball Simulation: [High School, 2-4 Hours] Students create a bouncing ball simulation in JavaScript, complete with gravity and collisions!