Webolution Designs

Clay Hess

Full Stack designer & developer

Importing a Module

To use a module that has the “export” keyword, we have to import it into our code. To do this we use the “import” keyword… This is placed at the top of the file and makes all of the items that have been exported from the animal.js file available. Notice

More »

Creating a Module

In JavaScript, we can use modules to organize our classes so our code is more manageable. We can put as many classes as we want into a module. Each module is its own JavaScript file. Typically, the functionality related to that module is put into the file and organized accordingly…in

More »


In OO languages, we want to stay DRY and avoid getting WET. Inheritance allows us to avoid writing duplicate code. JavaScript classes give us this ability… We can use this animal class and extend (inherit) it to another object. Here’s an example… The output would be “Bongo”. We extended the

More »


In JavaScript, methods are function that exist on an object. Here is an example… This code would output Bongo says “ugh!”. Notice that we did not use the function keyword. We did need the return though. Note: You might notice that we used backticks in this example. You also might

More »

Constructors and Properties

In JavaScript classes, we put constructors inside of them as follows… The output would be “Bongo”. This syntax should be very familiar to those coming from traditional OO languages, such as C#. Happy Coding! Clay Hess

More »

Class Basics

Classes were brought to JavaScript in ES2015. This allows JavaScript to act more like traditional OO languages. Let’s look at how we create a class in JavaScript. That’s it! Happy Coding! Clay Hess

More »
Excuse Our Mess! We are currently remodeling!

We are currently in the process of redesigning our site. We appreciate your patience as some areas of our site show chipping and paint peeling. We hope to have it sparkling soon!


Learn how we helped 100 top brands gain success.

Let's have a chat