0PricingLogin
Javascript for Kids · Lesson

What Is an Object?

Group related info.

Meet the Treasure Chest! 🪙

Imagine a magic treasure chest 🧰 that can hold lots of things at once! In JavaScript we call this an object.

An object groups related info together, like a chest holding gold, gems, and a map all in one place!

Why Group Stuff? 🤔

What if you wanted to remember everything about your dog 🐶? Its name, age, and color!

You could make 3 separate boxes... OR put them all in ONE chest. Objects let you keep related things together!

All lessons in this course

  1. What Is an Object?
  2. Reading Properties
  3. Changing Properties
  4. A Pet Object
← Back to Javascript for Kids