Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

CodeSignal

JavaScript Classes and Objects Basics

via CodeSignal

Overview

This course introduces the foundational concepts of JavaScript classes and objects, focusing on implementing basic code structures and OOP concepts, as well as dealing with common edge cases.

Syllabus

  • Lesson 1: JavaScript Classes in Object-Oriented Programming
    • Player Class in Action
    • Expanding the LibraryBook Class
    • Fix the Rectangle Area Calculation
    • Define and Implement Subtract Method for ComplexNumber Class
    • Creating a Dice Simulator with JavaScript Classes
  • Lesson 2: JavaScript Constructors and Class Methods
    • Modifying the fuelUp Method with a Verbose Parameter
    • Ensure Correct Publication Year in LibraryBook Class
    • Initializing JavaScript Classes with Default Parameters
    • Add Functionality to CoffeeMachine Class
    • Spaceship Class Creation in JavaScript
  • Lesson 3: Encapsulation and Privacy in JavaScript OOP
    • Adjusting MusicPlayer Volume Dynamically
    • Fix the Color Change Functionality of the SmartLightBulb
    • Encapsulation in Practice: Smart Fridge Temperature Control
    • Encapsulation with Private Methods in SmartCamera
    • Encapsulation in a SmartWatch Class
  • Lesson 4: Inheritance in JavaScript Classes
    • Overriding Methods and Utilizing super in JavaScript
    • Fix the Delivery System in JavaScript
    • Enhancing SmartMusicPlayer with Volume Control
    • Attribute Inheritance with JavaScript Classes
    • Simulating an Electronic Device and Computer Bootup Using Inheritance in JavaScript

Reviews

Start your review of JavaScript Classes and Objects Basics

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.