Bummer! This is just a preview. You need to be signed in with an account to view the entire instruction.
Instruction
Object basics
An object is a collection of related data and/or functionality. These usually consist of several variables and functions (properties and methods when they are inside objects). Let's work through an example to understand what they look like. To begin with, make a local copy of our oojs.html file. This contains very little - a <script> element for us to write our source code into. We'll use th...