tracks

Sign In Sign Up
1/29
Review of Object-Oriented Programming
What's a Class?

Let's start off by reviewing the basics of objects and classes covered in our previous courses. Recall that a class allows us to represent real-life or virtual things by storing all relevant information inside the object's properties.

We'll start off by reviewing how to create a class constructor. We've already created a Skateboard constructor with properties for color and length.

Instructions

Create a Bike constructor on line 7 that has no properties.

script.js
Back to Editor

Sign in