Note: If you are working on a computer/tablet/other device where you don't have the ability to create your own files, you could try out (most of) the code examples in an online coding program such as JSBin or Thimble.
- 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.