Object Oriented Programming in JavaScript

Offered By
Coursera Project Network
In this Free Guided Project, you will:

Create ES6 classes & initialise the objects by calling constructors using new keyword.

Apply Inheritance to write reusable & modular code by using extends & calling parent class using super method.

Learn usage of static and instance variable / methods and implement security using private variables.

Showcase this hands-on experience in an interview

Clock1 hour
CloudNo download needed
VideoSplit-screen video
Comment DotsEnglish
LaptopDesktop only

Welcome to this guided project about how to do “Object Oriented Programming in JavaScript” My name is Honey Thakuria, and I will be your instructor for this project. This project is for people who are interested in solving problems using Object oriented approach. I’ll teach you how to write classes denoting your business objects, inheriting parent class and using static and instance variables. But, you should be familiar with the fundamentals of JavaScript. I’m excited to teach you how to do object oriented programming in JavaScript. I’ve 5+ years of experience in working as a Software Engineer with leading product based companies and startups. I’ve built a number of software which are modular and can serve millions of users requests. Let’s take a look at what you’ll accomplish by the end of this project. We’ll be solving a classical inheritance problem involving Student & Teacher using Object Oriented approach in JavaScript. I’ll be explaining you OOPS concepts and will give you test cases for each concept explained. If you’ll apply the knowledge you gained during the session, you’ll be able to pass those test cases and master the concepts.


Anyone having fundamental understanding of JavaScript

Skills you will develop

Design PatternObject-Oriented Programming (OOP)JavaScriptInheritanceClasses

Learn step-by-step

In a video that plays in a split-screen with your work area, your instructor will walk you through these steps:

  1. Create classes along with member variables and functions by initialising the objects by writing constructors.

  2. Implement inheritance by extending the parent class and initialising it using the super keyword from child class. 

  3. Secure data by implementing private variable and accessing them using getters.

  4. Avoid data replication by using static member variables using class name.

  5. Learn usage of set method by implementing it.

How Guided Projects work

Your workspace is a cloud desktop right in your browser, no download required

In a split-screen video, your instructor guides you step-by-step

Frequently asked questions

Frequently Asked Questions

More questions? Visit the Learner Help Center.