4Geeks logo
4Geeks logo

Courses

Explore our extensive collection of courses designed to help you master various subjects and skills. Whether you're a beginner or an advanced learner, there's something here for everyone.

Coding Bootcamp

Learn live

Join us for our free workshops, webinars, and other events to learn more about our programs and get started on your journey to becoming a developer.

Upcoming live events

Learning library

For all the self-taught geeks out there, here is our content library with most of the learning materials we have produced throughout the years.

It makes sense to start learning by reading and watching videos about fundamentals and how things work.

Data Science and Machine Learning - 16 wks

Full-Stack Software Developer - 16w

Search from all Lessons

LoginGet Started
← Back to Exercises

Object Oriented Programing In Javascript

Star

Created by: Alejandro Sanchez

Sign Up for instant access

We will use it to give you access to your account.

Difficulty

beginner

Repository

Click to open

Video

Not available

Live demo

Not available

Average duration

4 hrs

Technologies

Estas instrucciones están disponibles en 🇪🇸 español 🇪🇸

During these exercises, we will explore object-oriented programming concepts and how to apply them using Javascript. Sadly, the javascript object implementations do not have concepts like Method Overriding, Polymorphism, Private properties, etc. But I will make a reasonable effort to use all the available object-oriented features:

  1. Create new instances.
  2. Create a class.
  3. Define your first property.
  4. The constructor and constructor parameters.
  5. Some practical class examples.

How are the exercises organized?

Each exercise is a small react application containing the following files:

  1. app.js: represents the entry python file that will be executed by the computer.
  2. index.html: represents the entry website.
  3. style.css: your website styles, they have to be imported from the index.html
  4. README.md: contains exercise instructions.
  5. test.js: you don't have to open this file, it contains the testing script for the exercise.

Note: These exercises have automatic grading but it is somewhat rigid, I recommend you ignore the tests, consider them as a recommendation or you could get frustrated.

Contributors

Thanks goes to these wonderful people (emoji key):

  1. Alejandro Sanchez (alesanchezr), contribution: (coder) 💻 (idea) 🤔, (build-tests) ⚠️ , (pull-request-review) 👀 (build-tutorial) ✅ (documentation) 📖

  2. Paolo (plucodev), contribution: (bug reports) 🐛, contribution: (coder), (translation) 🌎

This project follows theall-contributors specification.Contributions of any kind are welcome!

This and many other exercises are built by students as part of the 4Geeks Academy Coding Bootcamp by Alejandro Sánchez and many other contributors. Find out more about our Full Stack Developer Course, and Data Science Bootcamp.

Sign Up for instant access

We will use it to give you access to your account.

Difficulty

beginner

Repository

Click to open

Video

Not available

Live demo

Not available

Average duration

4 hrs

Technologies

    Javascript

  • object oriented programming

  • javascript objects