Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.


JavaScript Objects Course

via Treehouse


Objects are an essential part of JavaScript; they provide a flexible way to keep track of data by associating a name with a particular value. In this course, you'll learn the basics of JavaScript objects as a data structure (using objects to store key/value pairs).


Object Basics

Learn JavaScript object literal syntax for creating a variable that stores data as property/value pairs. You'll also retrieve and set values in objects using property names with bracket and dot notation.

Chevron 7 steps
  • What is an Object?


  • Create an Object Literal


  • Create an Object

    2 objectives

  • Access Object Properties


  • Set the Value of Object Properties


  • Access and Set Object Properties

    2 objectives

  • Review Object Basics

    5 questions

Loop Through Objects

Learn how to access each property name and property value by looping through an object's keys. You'll also combine arrays and objects to create even more powerful ways to store and retrieve information.

Chevron 9 steps
  • Use `for in` to Loop Through an Object's Properties


  • Loop Through an Object's Properties

    2 objectives

  • instruction

    Useful JavaScript Object Methods

  • Store Objects in Arrays


  • Create an Array of Objects

    2 objectives

  • Build an Object Challenge


  • Build an Object Challenge – One Solution


  • Display an Array of Objects on the Page – One Solution


  • Review `for in` and Arrays of Objects

    6 questions

Taught by

Guil Hernandez


Start your review of JavaScript Objects Course

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.