
This course includes our updated coding exercises so you can practice your skills as you learn.
See a demo
Explore object oriented programming in JavaScript by examining objects, namespaces, and sub-namespaces, and learn how built-in objects like console and Math expose methods such as log and random.
Create a global namespace by checking for an existing object and reusing it. Create a blank object if it doesn't exist.
Explore how JavaScript objects hold multiple values as name-value pairs, access properties like first name, last name, and age, and practice building a person object.
Learn how to define object methods in JavaScript, use this to access properties like student name, course name, and score, and return information via the console.
Compare literal and constructor object patterns in JavaScript, define objects with a function, use this and new to create instances, and call a grade method to reuse object functionality.
Create new object instances using a constructor in JavaScript, assign dynamic values to each instance, and observe that changes to one do not affect the others, enabling independent, customizable objects.
Explore how JavaScript, a prototype-based language without a class statement, uses functions as classes, builds instances with new, and passes properties to constructors for instance-specific behavior.
Learn how to create prototype methods in JavaScript by attaching functions to a class via prototype, use instances to call methods, and observe value updates in the console.
Learn how single inheritance works in JavaScript by creating a parent and a child class. Use prototypes and Object.create to inherit properties, define constructors, and extend the child.
Explain how to implement object oriented inheritance in JavaScript by creating car parent with a name, then a company child that inherits movement and adds a faster method using prototypes.
Explore encapsulation in JavaScript by building a class with public and private members, using this and underscores to show which values and methods remain private inside the object.
Explore how polymorphism in object oriented javascript uses prototypes to override and inherit methods across classes, creating a new class that reuses and extends the original public methods.
Learn to Create Object Oriented JavaScript!!!
JavaScript typically lacks some of the features of Object Oriented Programming. Within this course we show you how to add these into JavaScript and use objects in JavaScript as you typically would in Object Oriented Programming. This can make your JavaScript more reusable and robust.
We have designed this course to optimize practicing JavaScript coding.
Try the code after each video lesson. PDF copy and paste code that we use within the course and TRY FOR YOURSELF.
Everything you need to learn about JavaScript Object Oriented Programming is provided within this course.
Learn how Javascript works and it's fundamental concepts when it comes to Object Oriented Programming. Learn to build your own Javascript code to make you website more interactive.