Please enable JavaScript to use CodeHS

Coding in Science

Lesson 1.2 Gravity Simulation

Description

In this lesson, students explore the value of simulations in science, learn their first JavaScript concepts, and start to build their gravity simulation.


Objective

Students will be able to:

  • Explain how simulations can be used in science, as well as their pros and cons.
  • Understand the basic idea of functions and variables in JavaScript.
  • Write their first functions and variables in JavaScript.