Object-Oriented JavaScript
Model data and behavior with classes, prototypes, getters and private fields.
What you'll learn
- Write classes with constructors and methods
- Use inheritance and choose composition when it fits
- Protect state with private fields
- Explain how prototypes work
About this course
You build a small library system with JavaScript classes. You learn constructors, inheritance, composition, private fields and how prototypes work underneath.
Course curriculum
4 modules and 12 lessons over 4 weeks. Plan for about 12 learning hours.
01ClassesWeek 1 · 3 lessons
- Constructors
- Methods
- Static members
02InheritanceWeek 2 · 3 lessons
- extends and super
- Composition
- When to use each
03EncapsulationWeek 3 · 3 lessons
- Private fields
- Getters and setters
- Immutability
04Library systemWeek 4 · 3 lessons
- Books and members
- Loans
- Tests
Project
Library system. A class-based library model for books, members and loans, with tests.
Who this course is for
JavaScript learners who want to structure larger programs.
Prerequisites
You write JavaScript functions and objects.
What's included
- 180-day course access
- Project brief
- Starter repository
- Coding labs
- Reference solutions
- One written project review
- A digital completion certificate
Learning format
Project-based online course, part of our guided project courses. One written project review.
Access and delivery
- Course access is delivered within 15 minutes after payment.
- Written project review is returned within 2 business days of submission.
- Completion materials are issued within 2 business days after the project is approved.
Certificate
You receive a digital completion certificate. Completion materials are issued within 2 business days after the project is approved.
Frequently asked questions
When does access start?
Course access is delivered within 15 minutes after payment.
Is payment taken on this website?
No. After you submit your enrollment request, we reply by email with payment details and enrollment confirmation.
Does this course guarantee a job or income?
No. It is an education and training service and does not include employment, income or placement guarantees.
Can I cancel?
Our Refund and Cancellation Policy lists the terms for project-based programs.