Looking to become a front-end web developer?
We have put together a course that includes all the essential information you need to work towards your goal.
- Object basics
- Object prototypes
With most of the gory details of OOJS now explained, this article shows how to create "child" object classes (constructors) that inherit features from their "parent" classes. In addition, we present some advice on when and where you might use OOJS.
- Working with JSON data
- Object building practice
- Adding features to our bouncing balls demo
In this assessment, you are expected to use the bouncing balls demo from the previous article as a starting point, and add some new and interesting features to it.