From the course: JavaScript: Classes

Unlock this course with a free trial

Join today to access over 25,500 courses taught by industry experts.

Defining a class

Defining a class

- [Lecturer] Now that we have some understanding of how to define a class, let's actually do this. We'll first create a base project that we can use to play with throughout this course. So let's get to it. So the first thing I'm going to do is create a folder outside here. I'm going to put it on the desktop and I'm going to right click, create a new folder, and I'm going to call this classes and then I'm going to drop it directly in VS Code. Feel free to use any editors you want but I find VS Code to be very friendly for the types of projects that we're doing, especially in this course because we're going to use an extension that we're going to get right away that's called Live Server. And it's going to allow us to always see the results of what we're doing. This one here, so actually install this one. Once it is install, all you're going to have to do is click go live when we have our project set up. So let's go ahead and…

Contents