04 - Operators & Variables

Using JavaScript Operators & Variables

Setup

We learned about variables and math operations that we could be using in JavaScript at the beginning of this course. In this chapter, we will put that knowledge to use.

Let’s first create a couple of shapes to have something to work with. Using the ellipse and rect functions let’s create a shape that roughly resembles a cart.

Create a free account to view this lesson.

By signing up, you agree to Educative's Terms of Service and Privacy Policy